CDSECT cares only about assembled code and labels. I believe conditional assembly instructions are ignored (but not their effect, of course -- it's usual input is an assembled macro such as DCBD). CDSECT does not to my knowledge generate #ifdefs. I think #pragma packed(xxxx) is its only C macro output.
Charles -----Original Message----- From: IBM Mainframe Assembler List [mailto:[email protected]] On Behalf Of Paul Gilmartin Sent: Wednesday, July 18, 2018 5:15 PM To: [email protected] Subject: Re: New Metal C standalone product for z/OS On 2018-07-18, at 14:54:39, Charles Mills wrote: > > Yes, assembler has types. A macro that cares can tell the difference among FOO DS C, FOO DS A, and FOO DS F -- but few macros and fewer instructions care. ... > It's been a while since I tried it, but using AIF to select among three such alternatives may yield unexpected resuts. Lookahead can make it worse. Given such complexity, will CDSECT realize the AIFs as #ifdefs? Probably not because SYSADATA doesn't reflect the AIFs. -- gil
