IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Supression of system messags


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chennareddy

New User


Joined: 22 Dec 2005
Posts: 11

PostPosted: Tue Mar 21, 2006 10:42 am
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
nuck

New User


Joined: 09 Dec 2005
Posts: 33

PostPosted: Tue Mar 21, 2006 3:01 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
Search our Forums:

Back to Top