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
how would you create a temporary dataset? And where will you use them?
Mention the types of job control statements?
what is use of dcb parameter in dd statement?
define cond parameter in jcl?
How can unused space allocation be returned to the system when a dataset is closed?
What is the function of the dd dcb keyword?
What is the function of dd name parameter with a 2 part structure; audit.report?
how to compare two datasets without using superce because output is limited to 133 bytes
What are some jcl statements that are not allowed in procedures?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Explain the purpose of dd * statement in jcl?
How do you create a temporary dataset?
What statement can be used to send data to another mvs jes3 node?
Explain the hierarchy levels in jcl?
Explain the purpose of dd dummy statement?