I have a JCL with 10 steps, want to execute first 5 steps
only, what are ways of doing it?is it possible to control
through JOB card?

Answers were Sorted based on User's Feedback



I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / suresh ramaiyan

You can create a NULL (//) point after the 5 step. so the
job will stop after step 5 is executed.

I don't think we can do it via JOB CARD. Please let me know
if anyone knows.

Is This Answer Correct ?    14 Yes 1 No

I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / praveen kumar bejjanki

There are two ways in order to achieve this.
1. Give a null statement(//) after step5
2. Give the cond parameter starting from step6 through
step10 as cond=(0,le). This parameter will bypasses the
step6 through step10 as it satisfies the cond for any of
the RC(return code).

Is there any other way, kindly let me know.....
Thanks!

Is This Answer Correct ?    7 Yes 0 No

I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / bala

Give COND=(99,NE)for all the other steps following STEP5.
Its skips those steps.
Also, a Null (//) given after STEP5 does the same.

Is This Answer Correct ?    4 Yes 1 No

I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / veer

we can achieve this with the IEBEDIT Utility......!!!

Is This Answer Correct ?    3 Yes 1 No

I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / shivakrishna

we can bypass by giving cond parameters in step from 6 if
we know the cond codes from previous steps.

Is This Answer Correct ?    2 Yes 1 No

I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / venkataramana

It is simple after fifth step we will use cond=(0,LE) in
each step for avoiding the execution.

Is This Answer Correct ?    1 Yes 0 No

I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / veer

'to execute first 5 steps only', end of the 5th step
introduce NULL(//) character and run. first 5 steps will
run.

If you want to run step3, step5, step10 like that, use
IEBEDIT utility.

Is This Answer Correct ?    1 Yes 0 No

I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / kalaiarasan

Anshuman is wrong its not EIBEDIT, its IEBEDIT

Is This Answer Correct ?    0 Yes 0 No

I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / ranjan

i do agree with suresh.

Is This Answer Correct ?    0 Yes 1 No

I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / anshuman

you can use the IBM utility EIBEDIT for this n mention step
1 to 5

Is This Answer Correct ?    2 Yes 4 No

Post New Answer



More JCL Interview Questions

Explain the purpose of dd * statement in jcl?

0 Answers  


i have 6 steps in my jcl program after going to 5th step i want to execute 3rd step.....how can i do it....by using(RESTART) can i do it or not?

2 Answers   Wipro,


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

0 Answers  


what are JCLLIB and STEPLIB in JCL?

0 Answers  


What do you understand by the term job time – out and how can you overcome that?

0 Answers  






Define concatenating?

0 Answers  


i have 10 steps in my jcl. -->if i want to execute my program from 5th step what i have to do? don't give //* in ur previous steps --> if i want to execute my program from 1to 5 steps only what i have to do?

2 Answers  


Is there any command to check wether the ps file is in sorted order?

0 Answers   IBM,


Name some of the JCL statements that are not allowed in procs.?

1 Answers  


1.How to check for the errors using TYPRUN=SCAN?What will be the output if we give TYPRUN=SCAN?

11 Answers  


What all are the changes to be made in JCL so as to do testing?

2 Answers   TCS,


What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?

4 Answers  






Categories