In Job, there are 10 steps. If I want to execute the first 6
steps and don't want to execute from 7th to 10th step. What
is the solution for this ?

Answers were Sorted based on User's Feedback



In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute f..

Answer / satyanarayana

execute the steps till 6th step and in the 7 the step we
need to give the positive conditin like COND = (0 LE)which
is always true. so all the steps from 7 th step will be
bypassed.

thanks
satya

Is This Answer Correct ?    11 Yes 1 No

In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute f..

Answer / aishwarya

Just give a null statement after 6th step like // Any line
after null statement in jcl will not be executed. Hence
remaining steps will be skiped from 7 to 10. Simple

Is This Answer Correct ?    10 Yes 2 No

In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute f..

Answer / sivakumar sekharannair

me to belevive that answer 3 is the perfect answer

Is This Answer Correct ?    4 Yes 1 No

In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute f..

Answer / piyush mani

All answers r ok but most efficient way 2 do this is to use null indicator after 6th step.

Is This Answer Correct ?    3 Yes 1 No

In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute f..

Answer / kamaldeep

Answer given by Satyanarayana(ans#1) if we use COND=(0.LE) in a step then only that step will be bypassed not all the steps after it. I have tried it, please try and revert back.

Is This Answer Correct ?    0 Yes 0 No

In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute f..

Answer / darshan

STOPAFT can be used

Is This Answer Correct ?    0 Yes 0 No

In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute f..

Answer / rajesh kumar.t

1.use COND par for each step.
2.comment the STEP7-10.

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More JCL Interview Questions

how to resolve soc-7 ? please tell me

3 Answers   IBM,


how can i use the parameters decalred in main pgm in sub pgm

2 Answers   TCS,


What is the difference between catalogue procedure and In-Stream procedure?

2 Answers  


how are instream data terminated?

3 Answers   Tech Mahindra,


How can we execute only one step in a job

22 Answers   MAHINDRA, Mind Tree, Tech Mahindra,






How many JOB statements a JCL can have ? If there are more than one JOB statements in a JCL, are they submitted in succession or in parallel ?

4 Answers   IBM, Tech Mahindra,


How can i execute 5th step without executing first 4 steps?

4 Answers  


What is the purpose of dd?

0 Answers  


What 3 guidelines do we have to follow when concatenating DD statements?

3 Answers  


Explain the function of dd name parameter with a 2 part structure; audit.report?

0 Answers  


How does -818 sql error occur? Why does it happen and what can be done to overcome this error code?

5 Answers   RBS,


I need to compare two VSAm files. In input VSAM file some fields are updating and the updated feilds are coming into the output file. now i need to compare these two files with respect to a perticular field. Please suggest a suitable JCL code me.

2 Answers   Cognizant, Wipro,


Categories