Page 1 of 1

How to trap WTO messages?

Posted: Mon Mar 31, 2014 2:39 pm
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.

Re: How to trap WTO messages?

Posted: Mon Mar 31, 2014 3:50 pm
by zprogrammer
I am not sure of WTO messages but try this link on OUTTRAP FUNCTION

Re: How to trap WTO messages?

Posted: Mon Mar 31, 2014 4:20 pm
by enrico-sorichetti
... ... ... issues WTO messages ... ...
I guess that the operators love it :mrgreen:

Re: How to trap WTO messages?

Posted: Mon Sep 14, 2015 12:17 pm
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.