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
 
Trapping WTO messages

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

New User


Joined: 31 Aug 2005
Posts: 49
Location: U.K.

PostPosted: Thu Dec 08, 2005 10:39 pm    Post subject: Trapping WTO messages
Reply with quote

Hi all,

I have a piece of rexx code that calls an assembler program to do someting. The assembler program validates the inputs and issues WTO (Write To Operator) messages for invalid input or in case of errors.

Is there any way to trap these WTO messages? If I could trap these messages, then I could handle the conditions better. Has anybody ever tried this?

Any help will be appreciated.

Thanks,
Panda.
Back to top
View user's profile Send private message
References
PostPosted: Thu Dec 08, 2005 10:39 pm    Post subject: Re: Trapping WTO messages Reply with quote

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1867
Location: Israel

PostPosted: Tue Dec 27, 2005 12:56 pm    Post subject:
Reply with quote

Hi -

Unfortunately, there is no way to trap TPUT and WTO messages in pure REXX (see the OUTTRAP documentation).

However, you can try and read the SDSF LOG and parse the message associated with the JOBID - using batch SDSF command.

Let me know if you need an example of how to read SDSF dataset in batch (you can do that in foreground, too), or just read the fine section in the SDSF book.

O.
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