Page 1 of 1

Execute specific steps in JCL without using IEBEDIT.

Posted: Wed Dec 27, 2023 6:26 pm
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?

Re: Execute specific steps in JCL without using IEBEDIT.

Posted: Wed Jan 17, 2024 1:37 pm
by Sumit Mehra
My answer was to keep only the steps in JCL which we want to execute but it was not accepted.

Re: Execute specific steps in JCL without using IEBEDIT.

Posted: Fri Feb 02, 2024 6:30 pm
by Sumit Mehra
Could someone please share their answer for this question.

Thanks in advance,

Re: Execute specific steps in JCL without using IEBEDIT.

Posted: Sat Feb 03, 2024 12:32 am
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.