Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Supression of system messags

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
chennareddy

New User


Joined: 22 Dec 2005
Posts: 9

PostPosted: Tue Mar 21, 2006 10:42 am    Post subject: Supression of system messags
Reply with quote

Hi..

Could any of you tell me how to supress system messages.

I.E for example if you run any command(tso/ispf/rexx) and there is some wanring that the system generates and sends messages to the output terminal.

Now my problem is i want to supress the system genarated messages and display my own messages.

Thanks,
Chenna
Back to top
View user's profile Send private message
References
nuck

New User


Joined: 09 Dec 2005
Posts: 35

PostPosted: Tue Mar 21, 2006 3:01 pm    Post subject:
Reply with quote

Hi,

if you use something like this, it should work:

x = OUTTRAP('VAR.')
....your programming here that results in system messages
y = OUTTRAP('OFF')

all of the sys-generated messages should now be stored in the var. stem variable (in case you want to look at them). I don't know 100% if this captures all messages, I used it to grab the Job infos when submitting a JCL thru Rexx.

cheers
Ralph
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1