If a job has 3 steps and step 1 and step 3 should get
executed and step 2 should not get executed irrespective of
the return code from the previous steps. How can it be done?
Answer Posted / mr. cooooool
Hi..........
We can use condition parameter for step2.
//JOBCARD
//STEP1 EXEC=PGM1
//STEP2 EXEC=PGM2,COND=(0,LE,STEP1)
//STEP3 EXEC=PGM3
//
THANKS
| Is This Answer Correct ? | 30 Yes | 3 No |
Post New Answer View All Answers
What is the significance of addrspc parameter in exec statement?
What parameter of the job statement is used to limit the cpu time consumed by the job?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
how can you check if a file is empty using jcl?
What is the significance of addrspc parameter in the exec statement?
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
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
what is “Cond= even” and “Cond=only”?
How do you submit a job for execution?
define cond parameter in jcl?
Explain the function of the steplib dd statement?
Explain the purpose of dd dummy statement?
Explain about LMFREE�free data set from its association with data ID
What is Cataloged Procedures?