cool.manoj Beginner
Joined: 26 May 2010 Posts: 13 Topics: 5
|
Posted: Wed Oct 06, 2010 6:50 am Post subject: How to execute next step when there is a "Sytem Abend&q |
|
|
Hi,
i have to 2 steps in my job. I want to execute step2 only when return code of Step1 is 8/12 or when there is a "system abend".
//step1 exec pgm=myprog1
...
...
//Step2 exec pgm=myprog2,COND=(8,GT,step1)
...
...
This is working fine when Step1 returns 8 or 12 return code. However when there is system abend, Step2 isn't executing.
I modified COND to COND=((8,GT,step1),ONLY), then it worked fine when there is a system abend. However when there is a return code 8/12 this step isn't executing.
Is there anyway we can execute Step2 when there is an "System abend" or "return code 8/12"?
Thank you so much!
Regards,
Manoj. |
|