To clarify, I would like for COPY IEABRC to appear in the listing, but not any 
of the statements that IEABRC contains.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר

________________________________________
From: IBM Mainframe Assembler List <[email protected]> on behalf 
of Jonathan Scott <[email protected]>
Sent: Monday, February 26, 2024 8:50 AM
To: [email protected]
Subject: Re: Hiding COPY text

I think we need some clarification of what is meant by a request
for PRINT NOGEN for a copy book.  What is the intended
difference from using PRINT OFF?

In the specific case of ASMMSP, that already contains PRINT OFF.
If you want to see the source, you will have to look at the copy
book or use PCONTROL to override that.

To avoid showing a copy book, I would use a sequence such as the
following:

         PUSH  PRINT,NOPRINT
         PRINT OFF    COPY whatever
         COPY  whatever
         POP   PRINT,NOPRINT

The comment on the PRINT OFF statement is intended to describe
what is being hidden, but if that is not required, the statement
can be changed to PRINT OFF,NOPRINT.

Jonathan Scott, HLASM
IBM Hursley, UK

Reply via email to