View previous topic :: View next topic
|
Author |
Message |
chennareddy
New User
Joined: 22 Dec 2005 Posts: 11
|
|
|
|
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 |
|
|
nuck
New User
Joined: 09 Dec 2005 Posts: 33
|
|
|
|
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 |
|
|
|