I have 20 steps in a job... step01, 02....step17...step20.
For some reason I want to execute step17 only if the return
code for all the previous steps are less than or equal to 4.
otherwise if return code for any of the previous 16 steps
is greater than 4, then step17 should be bypassed. How do I
do that ?? how and in which step should i formulate COND
parameter
Answer Posted / ssssss
//STEP17 EXEC pgm=aaaaa,
// COND=(4,LT)
this will execute only the step017. If the return code is
Zero for the previous step then 4 is not less than zero so
condition fails so it will execute this step
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can a jobs execution priority be modified?
Is it possible to left uncode disp?
How can the attributes of one sms dataset be copied to another dataset?
How would you understand error(execution phase)?
what is use of space parameter in dd statement?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
Explain how can an in-stream dataset be terminated?
Differentiate between the joblib and the steplib statements?
How is a type of file defined in the jcl that executes the cobol program?
what is JCL?
what is the resolution for sb37 error
write a jcl to execute a job by 7:00 am on jan 20,1986?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
what is “Cond= even” and “Cond=only”?
whats the diff bw the evaluate also and and?