System Rexx runs Rexx programs in an isolated, **APF authorized** environment, so the only way to run a Rexx program under the AXR task is to use an operator MODIFY command to the AXR service to tell it to run your Rexx in that address space.
This reference explains what System Rexx really is: https://www.ibm.com/docs/en/zos/2.5.0?topic=guide-system-rexx Basically, you can't run your Rexx from plain JCL or normal TSO, you have to have authorization to use the operator MODIFY command and your Rexx must be accessible to the AXR STC in a library to which the STC has access. Not intended for "normal" Rexx applications, and probably only useful to system programmers and other authority-privileged teams. HTH Peter -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Kenneth J. Kripke Sent: Monday, October 31, 2022 9:36 AM To: [email protected] Subject: SYSTEM REXX use Hello; I am looking at the capabilities of SYSTEM REXX on a Z/OS system. I am not familiar with how to invoke it and so forth. Can functions be called from a TSO REXX environment, and, if so, how do I establish a connection to AXR? Kenneth J. Kripke -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
