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 / vijay sankar
The purpose of the COND is to determine whether the step
should be executed or bypassed. If condition specified in
the COND parameter is true,the step is bypassed.
so if we use // COND=(4,LT) .....this step will never excute
use COND=(4,GT)which is correct
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
what are the various stages of job processing?
How dummy is used in jcl?
How to pass data to a program that is coded in an exec statement?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
what is the JCL statement consists of?
Which statement is used to identify the private libraries in job?
What does a disposition of (new,catlg,keep) for a dsn mean?
Can I share my data with other jobs? How?
What are the 4 fields in dd statement?
What is the purpose of dd * statement in jcl?
What is the function of dd disp parameter?
What is notcat 2 - gs?
a dd statement has 2 types of parameters. Name them?
Explain how can a stopped job be started again?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?