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

we define the array like this 01 array 02 veg occurs 10 times 03 days occurs 6 times 04 cost pic 9(5). but why don't we write it as 01 array 02 veg occurs 10 times 03 days occurs 6 time 04 cost pic 9(5). is there any error will occur ,what is it? and why don't 01,02,03 not contain picture clause? if we put pic in those is there any error will occur what is it will occur?

1 Answers   Fidelity,


can we copy a file from fixed block to variable block and vice versa ....asap

1 Answers  


Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??

3 Answers   HSBC,


How many types we can give input to JCL

5 Answers   UHG,


how to eliminate the duplicates in sorting

4 Answers   Fidelity,






While using SORT FILES =NONE,XSUM I am getting error "ICE172A E XSUM IS NOT SUPPORTED - USE ICETOOL SELECT IF APPROPRIATE"..I want to write duplicate records a a serparte file..how i can do tht?

3 Answers   Steria,


how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks in advance.

6 Answers   UHG, Syntel,


can we write a proc with in a proc

4 Answers   IBM,


i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?

6 Answers   IBM,


What does IEBGENER do?

10 Answers   BirlaSoft,


mainframe questions like basic&depth

0 Answers   TetraSoft,


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,






Categories