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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

608


what is a jcl?

680


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

776


what JCL Procedures?

690


what are the various stages of job processing?

729






I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1917


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

642


What is use of restart and how to use it?

754


What is the function of //cntl statement?

821


How does jcl act on code(if you take a cobol program)?

697


how JCL works?

787


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7070


what is the use of IEBGENER utility?

648


how do you code a null statement?

762


What is notcat 2 - gs?

921