Execute specific steps in JCL without using IEBEDIT.

All sort of Mainframes Interview Questions.
Post Reply
Sumit Mehra
Registered Member
Posts: 19
Joined: Sun Feb 21, 2016 5:43 pm

Execute specific steps in JCL without using IEBEDIT.

Post by Sumit Mehra »

Hi,

If there are 6 steps in a jcl, want to execute only step 2 and step5. What is process? Without using IEBEDIT?
Sumit Mehra
Registered Member
Posts: 19
Joined: Sun Feb 21, 2016 5:43 pm

Re: Execute specific steps in JCL without using IEBEDIT.

Post by Sumit Mehra »

My answer was to keep only the steps in JCL which we want to execute but it was not accepted.
Sumit Mehra
Registered Member
Posts: 19
Joined: Sun Feb 21, 2016 5:43 pm

Re: Execute specific steps in JCL without using IEBEDIT.

Post by Sumit Mehra »

Could someone please share their answer for this question.

Thanks in advance,
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1896
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Execute specific steps in JCL without using IEBEDIT.

Post by Robert Sample »

Without modifying the JCL in some way, it is not possible to selectively execute job steps. This question comes up pretty often -- interviewers seem to like using it -- but the answer doesn't change. It may be possible to use a job scheduler to set up the steps to execute, but that would depend upon which job scheduler is being used. But in general, using an editor (TSO, ISPF, etc.) on the job is required to accomplish the task.
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.”