From: "z/OS TSO/E REXX Reference"

OUTTRAP function does not trap command output that is sent to the terminal by:
        * TPUT
        * WTO macro
        * messages issued by TSO/E REXX (that is, messages beginning with IRX)
        * messages issued by TRACE output
However, OUTTRAP does trap output from the PUTLINE macro with DATA or INFOR 
keywords.

Al Nims
Systems Admin/Programmer 3
UFIT
University of Florida
(352) 273-1298

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Lizette Koehler
Sent: Wednesday, November 02, 2016 3:46 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: TSO Command to issue message to Outtrap

I think it depends on if the TSO command issues a TPUT or a PUTLINE.
One will let you capture the output and the other will not.  And I forget which 
one is OUTTRAP friendly.


Lizette


-----Original Message-----
>From: "Dyck, Lionel B. (TRA)" <lionel.d...@va.gov>
>Sent: Nov 2, 2016 12:13 PM
>To: IBM-MAIN@LISTSERV.UA.EDU
>Subject: TSO Command to issue message to Outtrap
>
>Does anyone know of any TSO command (or REXX function) that will let me send 
>text to the screen that can be captured by OUTTRAP?
>
>What I'm trying to do is have a rexx dialog that does something like this 
>(very simplified):
>
>Call outtrap 't.'
>Write 'starting xyz'
>'xyz'    <=== tso command
>Call outtrap 'off'
>Do I = 1 to t.0;say t.i;end
>
>
>-----------------------------------------------------------------------
>---
>Lionel B. Dyck (TRA Contractor)
>Mainframe Systems Programmer <AITC Mainframe Support> Enterprise 
>Infrastructure Support (Station 200) (005OP6.3.10) VA OI&T Service 
>Delivery & Engineering
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to