How to trap WTO messages?

Time Sharing Option, Interactive System Productivity Facility and REstructured eXtended eXecutor

Moderator: mickeydusaor

Post Reply
Sandy
Registered Member
Posts: 51
Joined: Sat Jun 15, 2013 1:07 pm

How to trap WTO messages?

Post by Sandy »

Hello all,

I have a rexx code which calls an assembler program. The assembler program validates the inputs and issues WTO messages for invalid input or in case of errors. Is there any way to trap these WTO messages?

Thanks.
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: How to trap WTO messages?

Post by zprogrammer »

I am not sure of WTO messages but try this link on OUTTRAP FUNCTION
zprogrammer
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: How to trap WTO messages?

Post by enrico-sorichetti »

... ... ... issues WTO messages ... ...
I guess that the operators love it :mrgreen:
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Sandy
Registered Member
Posts: 51
Joined: Sat Jun 15, 2013 1:07 pm

Re: How to trap WTO messages?

Post by Sandy »

I understood that there is no way to trap TPUT and WTO messages in REXX only. One of team memeber has suggested to use SDSF LOG and parse the message associated with the JOBID, using batch SDSF command. This is what the team did here.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “TSO, ISPF & REXX (Do you still do CLIST?!).”