Page 1 of 1

Restart with IF ELSE in JCL.

Posted: Sat Jan 15, 2022 3:43 pm
by Sathish K
Query- if the job abends in step which is inside if end-if condition then how can we give restart ?

Ex-

Code: Select all

//Stpu010
// If stpu010.rc=0
//Stpu020
//Stpu030 ( suppose job abends at this step, how shall we restart)
//Stpu040
//End-if
//Stpu050

Re: Restart with IF ELSE in JCL.

Posted: Sat Jan 15, 2022 8:49 pm
by Robert Sample
Why would a normal restart not work? You know the condition was satisfied as the step executed.