Restart with IF ELSE in JCL.

All sort of Mainframes Interview Questions.
Sathish K
New Member
Posts: 6
Joined: Sat Apr 26, 2014 6:00 pm

Restart with IF ELSE in JCL.

Post 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
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1905
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa

Re: Restart with IF ELSE in JCL.

Post by Robert Sample »

Why would a normal restart not work? You know the condition was satisfied as the step executed.
Post Reply Previous topicNext topic

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Interview Questions.”