OUTTRAP was written for TSO long before System Rexx, and traps the output of 
PUTLINE/PUTGET. ARXOUT came later.

Is there an equivalent for Netview?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Assembler List [[email protected]] on behalf 
of Dave Clark [[email protected]]
Sent: Wednesday, May 10, 2023 9:18 AM
To: [email protected]
Subject: Re: Can REXX OUTTRAP trap WTO's?

"IBM Mainframe Assembler List" <[email protected]> wrote on
05/09/2023 01:38:32 PM:
> Is there any way for  Rexx script to capture WTO output?  This is a
> simple case, a one-line WTO, no multiline possible.
>
> I only recently found a need to do this, and my tests so far say "noit
can't".
>
> /* Rexx */
> /* Capture WTO from BATCHPGM */
> xtrp = outtrap("zdsp.")
> address attchmvs "BATCHPGM"
> xtrp = outtrap("OFF")
> say "ZDSP.1="zdsp.1


        The direct answer is, "No."  OUTTRAP is intended for use with
programs or processes that are aware of the REXX environment and can
return their output via ARXOUT.


Sincerely,

Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300

Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio  45439  USA
(937) 294-5331





*********************************************************************************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or proprietary
information. If you have received this message in error, please
immediately notify the sender and delete and destroy the message and all
copies. All unauthorized direct or indirect use or disclosure of this
message is strictly prohibited. No right to confidentiality or privilege
is waived or lost by any error in transmission.
*********************************************************************************************

Reply via email to