Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Any Global macro variable to know the status of PRINT GEN

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: Any Global macro variable to know the status of PRINT GEN
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Mon Nov 21, 2011 4:47 pm    Post subject: Reply to: Any Global macro variable to know the status of PR
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    Post subject: Re: Reply to: Any Global macro variable to know the status o
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us