I'm not sure what you are asking. If you are calling the rexx script from a Unix shell, then you can certainly use normal redirection, e.g., "foo >bar 2>baz".
Are you trying to redirect the output of an OMVS command that you call from REXX? If so, outtrap might do what you need. Alas, the ANSI extensions to address are not available in TSO/E REXX. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Jake Anderson [[email protected]] Sent: Wednesday, March 9, 2022 1:38 AM To: [email protected] Subject: Rexx copy to OMVS Hello Cross posted Good evening Is it possible to copy a rexx output to a OMVS file everytime by overriding it ? Any samples that I can refer to ? Jake ---------------------------------------------------------------------- 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
