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 / s
COND paramater should be in the step17 only
//step17 exec ......COND=(4,LT)
This condition will skip step17 when the return code is
lessthan or equal to 4 of all the previous steps.
(do not give any step name in cond)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
what is “Cond= even” and “Cond=only”?
What is the format of comment statement?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
How does the jcl specify the job to os?
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?
what is the compile process of cobol program expalin with code
how JCL works?
a dd statement has 2 types of parameters. Name them?
Define concatenating?
Is condition checking possible in jcl? If yes, how?
Differentiate between addressing mode and run mode.
is there any way to execute more than one proc in the same exec statement at the same time..?
what are the statements that are not valid to be included in an include statement?