Which COND paramter will u use to execute the step only if
the previous step does not execute

Answers were Sorted based on User's Feedback



Which COND paramter will u use to execute the step only if the previous step does not execute..

Answer / girish kumar

cond=only

Is This Answer Correct ?    41 Yes 1 No

Which COND paramter will u use to execute the step only if the previous step does not execute..

Answer / dutta

It is said that if step does not execute..it doesn't said that step execute abnormally.
so i think we must use Cond=EVEN.it says even if previous step excecute abnormally or normally then next step must execute.

Is This Answer Correct ?    1 Yes 0 No

Which COND paramter will u use to execute the step only if the previous step does not execute..

Answer / y@$w@nth

//step01 EXEC PGM=prog1
//indd1 DD DSN=userid.sample.indataset1
//outdd2 DD DSN=userid.sample.outdataset1

//step02 EXEC PGM=prog1,COND=(0,EQ,STEP01,4,EQ,STEP01)
//indd2 DD DSN=userid.sample.indataset2
//outdd2 DD DSN=userid.sample.outdataset2

Is This Answer Correct ?    3 Yes 9 No

Post New Answer

More JCL Interview Questions

If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/

10 Answers   IBM,


Say I have a file with 12 records. Each record has the name of the month. I have to append data in these 12 records into 1 record. How is it possible?

2 Answers   CTS,


what operation is performed by job statement?

0 Answers   IBM,


i have 10steps and i want run step3 and based on step3 i want execute step7,8,9,10?in jcl

1 Answers  


What is Cataloged Procedures?

0 Answers  






can we maintain 2 generations with different Lengths in Same GDG ?

3 Answers   RBS,


In JCL I have 5 steps,I need to execute 1st,2nd and 5th steps only,can any one answer me please?

2 Answers   TCS,


I have a dataset with record length 40 in production, due to some requirements it was changed to 80. Then how can we know the jobs which are effected by this change and how can we resolve it.

3 Answers   iGate,


i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?

4 Answers   Infosys,


How do You skip a Step In JCL?

9 Answers   HTC,


What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?

4 Answers  


What is the error/SOC code if dd names are not sysut1 and sysut2 in IEBGENER?

1 Answers   CTS,


Categories