I have a JCL which abends with ABEND=S000 U0005 REASON=00000000 in step3.
My requirement is to execute steps that come after step3. This can be done using COND parameter. Even thought I am able to execute the desired steps using COND but job ends with abended status. Please suggest how the job’s return code can be set back to zero.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
You cannot reset the return code once the job has completed.
You also cannot "un-abend" a job - the abend has already occurred..
Why is there an abend in the first place? I'd suggest reviewing how the process is implemented and change the design so there is no abend (unless this is some controlled user abend that meant is to inform the operators or the schedulers).