Hi ,
I have JCL step in which rexx program REXXPGM is executed as below.
//STEP01 EXEC PGM=IKJEFT01,DYNAMNBR=20,PARM='REXPGM %%BPPL'
//SYSTSPRT DD SYSOUT=*
//SYSPROC DD DSN=AAA.BBB.CCC.REXX,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSTSIN DD DUMMY
My rexx program is failing with RC>4 but JCL step STEP01 is giving RC=0.
If rexx is failing SETP01 should abend with the same return code. Is there any wany to get the REXX return code in jcl and check.
Thanks
Sohail