Question & Answer
Question
If I issue a REXX ADDRESS TSO command that calls an Assembler program that sets a return code, how would I check the return code upon return from the Assembler program? Here is an excerpt from my REXX routine: TSOCMD = "CALL 'SYS1.TECHLINK(AG03ZSYN)' " ADDRESS TSO TSOCMD
Answer
You can get the return code from the REXX 'RC' variable. Just do a
SAY 'RC=' RC
[{"Product":{"code":"SWG90","label":"z\/OS"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"566528508 - TSO\/E REXX","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"1.13;2.1;2.2;2.3","Edition":"","Line of Business":{"code":"LOB56","label":"Z HW"}}]
Historical Number
PMR 49439;005;000
Was this topic helpful?
Document Information
Modified date:
03 September 2021
UID
isg3T1019319