On Fri, 23 Jun 2023 19:00:02 -0500, Eric Erickson <[email protected]> wrote:

>Using XL C on z/OS V2R5. I've got a set of #ifdefs in a header file that are 
>not giving me the results I expect. I know on other compilers I've used in the 
>past that there were options to output all input statements showing the 
>#ifdefs and how the logic was processed. I need the same thing for the XL C 
>compiler, but can not seem to find the proper options. I tried PPONLY, but it 
>only showed the output after preprocessing it does not show the #ifdefs, which 
>I need to see how the logic is getting executed.
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [email protected] with the message: INFO IBM-MAIN


hi Eric,

There are some good responses already.  My colleague asked me to post this on 
their behalf:


You can use the SKIPSRC(SHOW) option along with any listing option (Ex. SOURCE) 
to show the portions of the files. The EXPMAC option is also helpful to see 
macro expansions.


Hope this helps.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to