If NOLIBMAC is in effect then a) like Jon, I wonder if the macro was copied, and b) like Seymour, I think the listing would be helpful, as well as the source code that invokes the macro.
Note that LIBMAC|NOLIBMAC can also be set by ACONTROL, so you might want to make a quick check for that. - mb > -----Original Message----- > From: IBM Mainframe Assembler List <[email protected]> On > Behalf Of Willy Jensen > Sent: Friday, December 1, 2023 1:08 PM > To: [email protected] > Subject: [EXTERNAL] SV: Inner macro and PRINT NOGEN > > I see the same behavior with option NOLIBMAC. > From the manual: > NOGEN Instructs the assembler not to print statements generated by > conditional assembly or the processing of a macro So I guess it makes > sense that source of the inline macros, but not the code generated, is > listed, > > -----Oprindelig meddelelse----- > Fra: IBM Mainframe Assembler List <[email protected]> På > vegne af Mark Boonie > Sendt: 1. december 2023 18:48 > Til: [email protected] > Emne: Re: Inner macro and PRINT NOGEN > > Does your assembly have the LIBMAC option in effect? Look at the first > page or two to see the list of options in effect. If it is in effect, > though, you should see the same behavior for all other library macros as > well (if any). Is this the case? > > - mb > > > -----Original Message----- > > From: IBM Mainframe Assembler List <[email protected]> > > On Behalf Of David Eisenberg > > Sent: Friday, December 1, 2023 12:03 PM > > To: [email protected] > > Subject: [EXTERNAL] Inner macro and PRINT NOGEN > > > > Hi... I hope someone can help me... I'm seeing some behavior that I'm > > not understanding. > > > > I've written a macro (let's call it MYMAC) that contains an inner > > macro (let's call it MYINNER). I have a PRINT NOGEN at the start of my > program. > > There is one invocation in my program of MYMAC. In the assembler > > listing, MYMAC is not expanded (that's correct). But immediately after > > the call to MYMAC in the listing, the entire macro source of MYINNER > > (including the macro comments beginning with dot-asterisk) are printed > in the listing. > > > > I would not have expected to see MYINNER printed at all with PRINT > > NOGEN in effect. It's entirely possible that I'm misunderstanding > > something or maybe missing an option... can anyone advise me? > > > > Thank you, > > > > David
