View previous topic :: View next topic
|
Author |
Message |
Binop B
Active User
Joined: 18 Jun 2009 Posts: 407 Location: Nashville, TN
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
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 |
|
|
Binop B
Active User
Joined: 18 Jun 2009 Posts: 407 Location: Nashville, TN
|
|
|
|
enrico-sorichetti wrote: |
what about using PUSH/POP PRINT |
Thanks a lot enrico .. This logic should work for me ... .. Thanks a ton again .. |
|
Back to top |
|
|
|