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

what is check pending option

1 Answers   Fujitsu,


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

0 Answers  


How to delete generations of gdg without deleting gdg base?

3 Answers  


write a jcl to execute a job by 7:00 am on jan 20,1986?

0 Answers   IBM,


how to resolve sb37,sd37 se37 abends

3 Answers   Keane India Ltd,






I have a job which is a long-running one. Processes millions of records. Due to some run-time problem (not a problem due to the job/data) the job abends.What needs to be done to make the job complete successfully.

4 Answers   TCS,


i have a string of 80 chars i want to replace 4th char with "a"?

3 Answers   CSC,


how can u understand ps and pds from their names ?

1 Answers   TCS,


What is the purpose of include statement in a JCL?

2 Answers  


We are using 2 files , file one has data, file two is empty.Using jcl how can we find the other file is empty?

9 Answers   CSC, IBM,


How are GDGs concatenated?

1 Answers  


How can you execute a COBOL program via SYSIN in JCL?

1 Answers  


Categories