Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
View previous topic :: :: View next topic  
Author Message
spanda

New User


Joined: 31 Aug 2005
Posts: 48
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

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ims program to put and get MQ messages fatenezzat COBOL Programming 1 Wed Feb 17, 2016 1:07 am
No new posts REXX / CA TOP SECRET messages carlos fuentes CLIST & REXX 2 Tue Oct 27, 2015 11:02 pm
No new posts Writing messages between the records ... ssudhanshu CLIST & REXX 4 Tue Apr 28, 2015 12:54 pm
No new posts Asynchronous consumption of WebSphere... Wilsy Java & MQSeries 0 Fri Dec 19, 2014 10:34 pm
No new posts Messages published by MQTT converted ... Midhun Mohandas Java & MQSeries 1 Mon Apr 21, 2014 5:43 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us