On Fri, 4 Nov 2022 13:35:38 +0000, Seymour J Metz wrote:

>You could certainly write code that sends output elsewhere, but I doubt that 
>you could affect the behavior of the SAY statement.
> 
I believe I've done it with:
    ADDRESS SYSCALL dup2 some-descriptor 1

It takes effect immediately and affects both SAY and TRACE.  But I had wanted 
to be
able to redirect SAY but  not TRACEE.

See also the description of IRXSAY.

But can System REXX be invoked from a UNIX script?

>But I believe that Mr. Morgenstern's information is sufficient for writing a 
>REXX script in TSO that invokes a System REXX script and uses the output.

_______________________________________
>From:  Paul Gilmartin
>Sent: Thursday, November 3, 2022 1:16 PM
>
>On Thu, 3 Nov 2022 15:28:18 +0000, Harris Morgenstern wrote:
>
>>All the command responses for MODIFY AXR, including output from SAY and 
>>AXRWTO are issued w/ the CART of the invoker.

-- 
gil

----------------------------------------------------------------------
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