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 ?    8 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 ?    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 / 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

How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?

1 Answers  


Is it possible to code instream data in a PROC?

0 Answers  


when can a job time-out occur? How to overcome that?

0 Answers   IBM,


what is use of dcb parameter in dd statement?

0 Answers   IBM,


restart logic ?

2 Answers   TCS,






What is jcl in mainframe?

0 Answers  


How to overide the symbol parameter in the jcl ?

3 Answers   UST,


If I defined space as TRK(10,10) for the one file and lrecl = 4K then tell me how many record will vsam file will contain. will it 1,2,3,4,5 or how many,

3 Answers   IBM,


What is JCL LIB ?

3 Answers   Xansa,


A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?

3 Answers   IBM,


describe the exec statement,its meaning ,syntax and keywords?

3 Answers  


how many max steps can we use in a job? pls answer to my question

9 Answers   TCS,


Categories