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 JCL works?
How gdg are concatenated?
a dd statement has 2 types of parameters. Name them?
Differentiate between the joblib and the steplib statements?
What is the syntax of JCL statement?
Why include statement is used in a jcl?
What are steplib and joblib?
What is the difference between run mode and addressing mode?
What is jcl in mainframe?
Which statement is used to identify the private libraries in job?
What is concatenating?
What is notcat 2 - gs?
what is the purpose of coding class parameter in job statement?
Is it possible to left uncode disp?
Give the syntax of job specifying jcl statement.