You could certainly write code that sends output elsewhere, but I doubt that you could affect the behavior of the SAY statement.
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. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Paul Gilmartin [[email protected]] Sent: Thursday, November 3, 2022 1:16 PM To: [email protected] Subject: Re: SYSTEM REXX use 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. > Might one direct output elsewhere with: o BPXWDYN( 'ALLOC ... ); EXECIO ... o ADDRESS SYSDALL write ... ESC_N o CALL LINEOUT ... Or even add DSFS to the picture? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
