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

I am getting the file from Unix to Mainframes for every 15 minutes. The mainframe job get abended with bad records coming from unix. I recovered that by deleting the bad data. I need permenant solution how to fix the issue? The record is getting characters in in first 9 positions which it should not. Please provide me the solution how to skip the records if it finds the charcters in the first 9 positions. K

3 Answers  


Explain dfsort utility?

0 Answers  


Explain how can the disposition of sysout datasets be set for an entire jobstream?

0 Answers  


We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?

5 Answers   IBM, JPMorgan Chase,


Can I send output of job to my remote device careerride123?

0 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  


What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.

0 Answers  


Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example.

2 Answers   GJ,


What is the difference between IEBGENER, IEBCOPY and REPRO in IDCAMS utility?

8 Answers   Accenture, TCS,


I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th steps if rc of 2nd step is zero

1 Answers   ABC,


Is it possible to code instream data in a PROC?

0 Answers  


What statement can be used to send data to another mvs jes3 node?

0 Answers  


Categories