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

What are SD37, SB37, SE37 abends?

4 Answers  


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  


How to print data of sequential file to Spool..?

2 Answers  


What are isolation levels? Where do we need to specify them in compiling JCL?

3 Answers  


What happens if both JOBLIB and STEPLIB is specified ?

8 Answers  






Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?

1 Answers  


What is maximum length of block size?

5 Answers   Cap Gemini, Kanbay, TCS,


A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)

1 Answers   IBM,


What is the meaning of the following declaration : DCB=BLKSIZE=, What is the difference between above declaration & not specifying DCB at all for a output file?

1 Answers  


Can a job have only steplib and no joblib ?

6 Answers  


What is MOD and when would you use it?

3 Answers  


how you will define a temporary dataset in jcl?

1 Answers   IBM,


Categories