I think it is always good practice to specify a CSECT eg #pragma csect (CODE, "name") Colin
On Sun, 13 Feb 2022 at 17:11, Mario Bezzi < [email protected]> wrote: > Thanks Steve, this is C code compiled by XL/C. > > I don't think DUMPT MYMODULE * C_CODE is the solution: Asterisk means the > first CSECT regardless if it has text in the specified class or not. > > AMA168I SYSIN PROCESSING STARTED > DUMPT MYMODULE * C_CODE > > **RECORD LENGTH: 00000000 CLASS: C_CODE MEMBER NAME: MYMODULE > CSECT NAME: IEWBLIT > AMA152I NO TEXT DATA OF REQUESTED CLASS FOR THIS SECTION. > > I may use DUMPT MYMODULE ALL to dump ALL CSECTs, but what if I want to ZAP > the text of the un-named one ? > > Thank you, > mario > > On Sat, 12 Feb 2022 21:38:48 -0500, Steve Smith <[email protected]> wrote: > > >You wouldn't have a class C_CODE in an assembler program (barring some > >rather unnatural acts). And apparently the new compilers think using > CSECT > >names is a barbarism or something. > > > >You'll have to make do with DUMPT MYMODULE * C_CODE > > > >$PRIVnnnnnn are not real names, they're generated by the binder for > >un-named sections, but are only for its listing. > > > >sas > > > >---------------------------------------------------------------------- > >For IBM-MAIN subscribe / signoff / archive access instructions, > >send email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
