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 / satya sivaji.ch
//step17 exec COND=(4,GT)
This says that if any of the previous steps with return
code of greaterthan 4,then it wil bypass,if it less than
then execute it.
In condition parameter wat ever condition u specified
inside the condition parameter is true,then the step should
be bypassed.
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Describe the various parameters utilized in the creation of a gdg?
Explain how can values be passed from the job stream to an executable program?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
Which statement is used to identify the private libraries in job?
A dd statement consists of 4 fields. Name them?
What happens if both JOBLIB & STEPLIB is specified ?
What is notcat 2 - gs?
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.
Suppose I have five jobs to do. But I want to hold one?
what is a jcl?
What do you understand by jcl?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
how to compare two datasets without using superce because output is limited to 133 bytes
How can values be passed from the job stream to an executable program?
Does jcl support automatic restart?