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: 10232
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 Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
This topic is locked: you cannot edit posts or make replies. session stuck in TPX with status ACL amitc23 CA Products 1 Tue Dec 13, 2016 12:53 pm
No new posts Format to pipe delimited with variabl... pshongal SYNCSORT 6 Wed Sep 14, 2016 2:48 pm


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