wt will happen to the step of a job if u code COND=ONLY

Answers were Sorted based on User's Feedback



wt will happen to the step of a job if u code COND=ONLY..

Answer / gummadi srinivas

//s1 exec pgm=ex1
//s2 exec pgm=ex2
//s3 exec pgm=ex3,cond=only
//s4 exec pgm=ex4

1) if s1 executes sucess, s2 got abend ,then executes s3.and
stops execution

2) if s1 got abend, s2 dont executes ,then s3 executes.and
stops execution

3) if s1 executes sucess ,s2 executes sucess,then s3 wont
executes. and go to s4.....

if any wrong in my answer plz correct me..

Is This Answer Correct ?    13 Yes 0 No

wt will happen to the step of a job if u code COND=ONLY..

Answer / suman

It is to execute subsequent activity when previous activity
terminated abnormally(unsucessfully).

Is This Answer Correct ?    3 Yes 0 No

wt will happen to the step of a job if u code COND=ONLY..

Answer / vinay sonar

//STEP2 DD PGM=IEBGENER,COND=ONLY

it means execute that step only if previous step abends

Is This Answer Correct ?    3 Yes 0 No

wt will happen to the step of a job if u code COND=ONLY..

Answer / rahaman

that step cond=only wil be executed only when the about step fails or shows an abend.

Is This Answer Correct ?    2 Yes 0 No

wt will happen to the step of a job if u code COND=ONLY..

Answer / sdexcellent@yahoo.co.in

if COND=ONLY then the next step will be executed only when
the previous step is not executed

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More JCL Interview Questions

What does the TIME parameter signify ? What does TIME=1440 mean ?

6 Answers   Accenture, TCS,


I have two input SORTIN files and We need to create one SORTOUT file which contains data of both input files. What is the SortCard for this?. Suppose the length of the both files are different, then How we do it? Please reply ASAP

4 Answers   CSC,


Can we Execute a job without specifying Job Name in the Job Card?

2 Answers  


What is default if we don't specify RD parameter at all ?

1 Answers   IBM,


Mention the types of job control statements?

0 Answers  






What is Backward Referencing ?

3 Answers   HSBC,


Explain concatenating datasets?

2 Answers   CTS,


What is a COND parameter in JCL?

10 Answers   TCS,


is there any possibilities for sumbitting more than one job in single jcl? if yes...based on which thing they will execute..(priority,class,time,written order..?)

3 Answers   HSBC,


can we bowse or edit the GDG dataset if it is a tape entry?

4 Answers  


IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the second step using the JCL, How to do it?? Please give the answer ASAP:)

8 Answers  


HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?

1 Answers   IBM,


Categories