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 / nidhi sharma
//step17 exec cond=(4,LT)
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
State the uses of syspring, sysin, sort fields, sum fields and dummy.
How does jcl act on code(if you take a cobol program)?
Is their any limit for data sets?
is there any way to execute more than one proc in the same exec statement at the same time..?
How to run cobol program using jcl?
Explain the function of dd disp parameter?
what is use of dcb parameter in dd statement?
whats the diff bw the evaluate also and and?
what is the resolution for sb37 error
Explain the function of job statement in jcl?
Is automatic restart possible in jcl?
What is the purpose of dd dummy statement?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?