Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Using the AXREXX macro z/OS MVS Programming: Callable Services for High-Level Languages SA23-1377-02 |
|
If HWIREXX does not provide the options for your REXX exec requires, you can run your REXX exec using the AXREXX macro from the System REXX programming environment. For example, an assembler program running in supervisor state,
PKM 0-7, or APF-authorized can invoke the AXREXX macro to execute
a REXX exec as follows:
After the invocation of the above AXREXX macro, the REXX exec gets control and the input parameters are passed to the REXX exec. If any output is generated from the exec, it is directed to the specified output data set and member name. Lastly, the return code and reason code are returned. For a complete description of the AXREXX macro and its usage, see z/OS MVS Programming: Authorized Assembler Services Guide and z/OS MVS Programming: Authorized Assembler Services Reference ALE-DYN. For a BCPii example showing the invocation of the AXREXX macro, see SAMPLIB member HWIXMRA1. |
Copyright IBM Corporation 1990, 2014
|