IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Any Global macro variable to know the status of PRINT GEN


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Mon Nov 21, 2011 3:56 pm
Reply with quote

Hi All,

Would like to know if there are any global macro variable which would hold the current value/status of PRINT GEN or NOGEN.

Am trying to print some statements in the compile listing based on this value.

To my understanding the field, &SYSECT, stores the current CSECT section name. Looking for something similiar to this ..
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Nov 21, 2011 4:47 pm
Reply with quote

Quote:
Would like to know if there are any global macro variable which would hold the current value/status of PRINT GEN or NOGEN.


NO, the way You asked Your question ...
what about using PUSH/POP PRINT

Code:
          PUSH   PRINT                  Save PRINT status
          PRINT  GEN/NOGEN              show/noshow  macro generated code
          Yourmacro Yourparms           Call macro to ....
          POP    PRINT                  Restore PRINT status
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Mon Nov 21, 2011 4:53 pm
Reply with quote

enrico-sorichetti wrote:
what about using PUSH/POP PRINT
Thanks a lot enrico .. This logic should work for me ... icon_razz.gif .. Thanks a ton again ..
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Job completes in JES, but the status ... IBM Tools 1
No new posts JCL sortcard to print only the records DFSORT/ICETOOL 11
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts Variable Output file name DFSORT/ICETOOL 8
Search our Forums:

Back to Top