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 / shesha
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 ? | 2 Yes | 4 No |
Post New Answer View All Answers
What is NOTCAT ?
What are the rules employed while naming the steps in a job?
What is one line to pass PARM from JCL to COBOL?
What do you know about jcl?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
Is it possible to define dd statements as you want?
Explain the jcl exec statement?
Are there any set of rules for the names of the steps used in a job?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
write a jcl to execute a job by 7:00 am on jan 20,1986?
Explain about LMQUERY�give a dialog information about a data set
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
List in order the hierarchical levels of jcl?
what is the resolution for sb37 error
What is jcl in mainframe?