Consider a job which has following steps.
//Step1 Exec pgm1=ABC
.
.
//Step2 --------------REXX program
.
.
//Step3 Exec pgm2=DEF
My requirement is to run Step3 if the Return code of Step2 REXX program is equal to 0.
Currently whatever may be the result of Step 2 Step 3 is getting executed. Please let me know if there is any method to pass the returncode from REXX program to jcl and then running the Step 3.
Thanks,
Chinkump