I have 10 steps, I want to run STEP1 TO STEP4 then I should
not run STEP5 and STEP6. Aganin I want to execute from
STEP7 to STEP10. ONLY using CONDITION CODES how can we
execute this process?
1. Where we can set cond codes for STEP5 and STEP6?
2. How can we execute remaining steps from STEP7 to STEP10?

Answers were Sorted based on User's Feedback



I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want..

Answer / harsih

there 2 ways for this

FIRST METHOD is use ibm utility called "IEBEDIT" and in
sysin in the include statement , give he steps u want to
execute..........



SECOND METHOD = and the steps whicc u dowant to excute code
COND{O,LE} ON THOSE STEPS

Is This Answer Correct ?    11 Yes 0 No

I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want..

Answer / lokesh

1) Use cond code as COND=(0,LT,STEP04) on step 05 and COND=
(0,LT,STEP04) on step 06. As return code is always non-
negative, step05 and step06 will never get executed.

2) To execute remaining steps, use cond code as (4,LT)

Is This Answer Correct ?    5 Yes 7 No

Post New Answer

More JCL Interview Questions

How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

0 Answers  


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

0 Answers  


What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Procs ?

9 Answers   Xansa,


What is a PROC? What is the difference between an instream and a catalogued PROC?

2 Answers  


I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...

2 Answers   Satyam,


How to execute step2,step1,step3 when step1,2&3 are in order

6 Answers   TCS,


how to count the number of members in pds?

2 Answers  


If Region=0k means What Happen?

2 Answers   IBM,


What is the differentiation between TRK,cyl, and Bytes... how they can be connected??

2 Answers  


do we need to mention the location of catalogued procedure for each it's call in a single job?

1 Answers  


What is the use of symbol // in jcl?

0 Answers  


i want to store 20 digits . how will u do it in cobol ?

0 Answers  


Categories