Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 10256
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 Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us