Re: Can REXX OUTTRAP trap WTO's?

2023-05-10 Thread Seymour J Metz
] on behalf of Lennie Dymoke-Bradshaw [032fff1be9b4-dmarc-requ...@listserv.ua.edu] Sent: Wednesday, May 10, 2023 12:43 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can REXX OUTTRAP trap WTO's? I think a WTO that is issued and then written to the TSO screen (as a result of PROFILE WTPMSG) must

Re: Can REXX OUTTRAP trap WTO's?

2023-05-10 Thread Farley, Peter
k at hand. Thanks for all the help from everyone. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Dale R. Smith Sent: Wednesday, May 10, 2023 1:33 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can REXX OUTTRAP trap WTO's? >From: IBM Mainframe Discussion List [IBM-

Re: Can REXX OUTTRAP trap WTO's?

2023-05-10 Thread Dale R. Smith
>From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of >Farley, Peter [031df298a9da-dmarc-requ...@listserv.ua.edu] >Sent: Tuesday, May 9, 2023 1:30 PM >To: IBM-MAIN@LISTSERV.UA.EDU >Subject: Can REXX OUTTRAP trap WTO's? > >Cross-posted to IBM-MA

Re: Can REXX OUTTRAP trap WTO's?

2023-05-10 Thread Farley, Peter
, 2023 12:44 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can REXX OUTTRAP trap WTO's? I think a WTO that is issued and then written to the TSO screen (as a result of PROFILE WTPMSG) must ultimately use a TPUT. (It may even use PUTLINE, which itself then uses a TPUT.) Can these messages be captured

Re: Can REXX OUTTRAP trap WTO's?

2023-05-10 Thread Lennie Dymoke-Bradshaw
Mainframe Discussion List On Behalf Of Seymour J Metz Sent: 10 May 2023 13:01 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can REXX OUTTRAP trap WTO's? OUTTRAP is for messages written by PUTLINE and PUTGET; the TSO Session Manager can capture TPUT but there is no way to capture WTO directly. However

Re: Can REXX OUTTRAP trap WTO's?

2023-05-10 Thread Seymour J Metz
OUTTRAP trap WTO's? Cross-posted to IBM-MAIN and TSO-REXX lists. 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 "no it can't". /* Rexx */ /* Captur

Re: Can REXX OUTTRAP trap WTO's?

2023-05-09 Thread Farley, Peter
Mainframe Discussion List On Behalf Of David Spiegel Sent: Tuesday, May 9, 2023 2:26 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can REXX OUTTRAP trap WTO's? Hi Peter, Assuming you  have SDSF, have you considered using its one of its APIs to scan the SYSLOG every n minutes? Regards, David

Re: Can REXX OUTTRAP trap WTO's?

2023-05-09 Thread Farley, Peter
Of ITschak Mugzach Sent: Tuesday, May 9, 2023 2:12 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can REXX OUTTRAP trap WTO's? If this process run as a batch job, the wto will be written to jesmsglg. You may call sdsf to read your own job log... בתאריך יום ג׳, 9 במאי 2023 ב-20:56 מאת Farley, Peter

Re: Can REXX OUTTRAP trap WTO's?

2023-05-09 Thread David Spiegel
: IBM Mainframe Discussion List On Behalf Of Seymour J Metz Sent: Tuesday, May 9, 2023 1:37 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can REXX OUTTRAP trap WTO's? See the CONSOLE facility in TSO. I don't know whether it is available in System Rexx. From

Re: Can REXX OUTTRAP trap WTO's?

2023-05-09 Thread ITschak Mugzach
y an existing > in-house utility program. > > Peter > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of Seymour J Metz > Sent: Tuesday, May 9, 2023 1:37 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Can REXX OUTTRAP trap WTO's? >

Re: Can REXX OUTTRAP trap WTO's?

2023-05-09 Thread Farley, Peter
by capturing output generated as a WTO by an existing in-house utility program. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Seymour J Metz Sent: Tuesday, May 9, 2023 1:37 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can REXX OUTTRAP trap WTO's? See

Re: Can REXX OUTTRAP trap WTO's?

2023-05-09 Thread Farley, Peter
version for my immediate need though. Thanks for the url's. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of ITschak Mugzach Sent: Tuesday, May 9, 2023 1:46 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can REXX OUTTRAP trap WTO's? It depends on the macro used

Re: Can REXX OUTTRAP trap WTO's?

2023-05-09 Thread ITschak Mugzach
n behalf > of Farley, Peter <031df298a9da-dmarc-requ...@listserv.ua.edu> > Sent: Tuesday, May 9, 2023 1:30 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Can REXX OUTTRAP trap WTO's? > > Cross-posted to IBM-MAIN and TSO-REXX lists. > > Is there any way for Rexx script to

Re: Can REXX OUTTRAP trap WTO's?

2023-05-09 Thread Seymour J Metz
M-MAIN@LISTSERV.UA.EDU Subject: Can REXX OUTTRAP trap WTO's? Cross-posted to IBM-MAIN and TSO-REXX lists. 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 "

Can REXX OUTTRAP trap WTO's?

2023-05-09 Thread Farley, Peter
Cross-posted to IBM-MAIN and TSO-REXX lists. 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 "no it can't". /* Rexx */ /* Capture WTO from BATCHPGM */ xtrp =