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
Name the statement which can be used to send data to another mvs jes3 node?
Are there any set of rules for the names of the steps used in a job? What are they?
how do you code a null statement?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
How to run cobol program using jcl?
what is use of dsn parameter in dd statement?
What is the purpose of dd?
What are the jcl procedures?
Can an individual step be restricted from using all the jobs allowed cpu time?
what operation is performed by job statement?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What is the maximum length of a single line of jcl?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
which parameter is use to declare the name of dataset in dd statement?