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
when does a dataset go uncataloged?
What are steplib and joblib? What for they are used?
which parameter is use to declare the name of dataset in dd statement?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
Matching Logic in Jcl not in cobol.Could any one please answer this question
Explain the purpose of dd dummy statement?
How do you create a temporary dataset?
Give the syntax of job specifying jcl statement.
Is condition checking possible in jcl?
what is the resolution for sb37 error
if the submitter of a job wants to inform another user about the job completion, how can it be done?
what is the compile process of cobol program expalin with code
what is the JCL statement consists of?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
In job processing, what happens in conversion stage?