How to bypass a step in JCL?

All sort of Mainframes Interview Questions.
Post Reply
Ashu Jain
New Member
Posts: 4
Joined: Thu Aug 14, 2014 3:29 pm

How to bypass a step in JCL?

Post by Ashu Jain »

Hi,

How to by pass the step without cond parameter, in a JCL?

I was aksed this is an interview. I think we can use IF parameter but I'm not sure. Are there more methods for this?
User avatar
Anuj Dhawan
Founder
Posts: 2802
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: How to bypass a step in JCL?

Post by Anuj Dhawan »

For example, if there are 10 steps and you want to bypass first 3 steps and DO NOT want to use COND - you can use RESTART your Job from STEP 4. However if you want to bypass a step in between and want to execute the steps before and after the 'bypassed step' - I doubt that there is an easy way out apart from "temporarily editing" the JCL.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Post Reply

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.”