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

What is jcl in mainframe, and how many types of jcl statements are there for a job?

0 Answers  


what are JCLLIB and STEPLIB in JCL?

0 Answers  


db2 maintains information about the data... a.in tables. b.in a set of tables known as db2 catalog. c.in db2 database. d.none of the above. 1 What is the maximum number of tables that can be stored on a Partitioned Table Space ? 1 what is contained in the DB2 node lock file? A) data base names B) data base users names C) license keys D) server names Accenture 5 Can a primary key have null values? If we try to insert a null value in a primary key column, will it work or give an error code? 6 When you are working with the project after coding what will u do? Like what type of documents u will prepare? How will u do testing? 2 how to delete perticular row from table for ex. how you will delete 3rd row from table please answer THANKS IN ADVANCE IBM 7 max number of columns in a db2 table? 6 What is package versioning? Please give an example. 1 What is the picture clause of the null indicator variable? 6 How do you filter out the rows retrieved from a Db2 table ? 1 What is DB2 (IBM Database 2)? 3 Can any one tell me about Restart logic in DB2.

2 Answers   Cap Gemini,


how to compress the data set

8 Answers   Keane India Ltd,


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 ?

7 Answers  






In order to continue a job after a return code of 12 in step1, what the step2 exec statement include?

1 Answers  


Min no of member?s (PDS) in one directory block?

10 Answers  


Can we write same stepname for one or more steps in on job ?

2 Answers  


What is the error code SOC01 indicate ?

5 Answers   Microsoft,


How to pass data to a program that is coded in an exec statement?

0 Answers  


What are the default system and catalog libraries in JCL?

2 Answers   Infosys,


What parameter of the job statement is used to limit the cpu time consumed by the job?

0 Answers  


Categories