Joined: 22 Apr 2006 Posts: 6258 Location: Mumbai, India
What you're really asking is - can I RESET the RC of a job-step. And the answer is - You can change RC only in an IDCAMS step and only for THAT step. You can't reset a RC of another step from an IDCAMS step, Period. (Thanks Robert, loved this word ).
You said there are 3-steps in your Job - but if the second step is IDCAMS step, as you show - then that is of no use actually; so you are left with only two-steps -- if that is the case, possiblly there is a solution using COND parameter.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Hello and welcome to the forum,
I have a proc which has 3 steps, 1st step will return RC 1808(related to time out in FTP) at times, but even in that case, I want to execute the step 2 and 3 with out interuption.
If you want the step(s) following the FTP to execute regardless of the RC of the FTP step, simply remove the condition code test from the JOB statement or any EXEC statement(s). Also, do not specify termination via the scheduler.
With no condition code testing, the steps should all run unless there is an actual abend.