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 / vijay sankar
The purpose of the COND is to determine whether the step
should be executed or bypassed. If condition specified in
the COND parameter is true,the step is bypassed.
so if we use // COND=(4,LT) .....this step will never excute
use COND=(4,GT)which is correct
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
define cond parameter in jcl?
What does a disposition of (MOD,DELETE,DELETE) mean ?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
How would you understand error(execution phase)?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
What is multithreading in jcl?
Explain how can the submitting users racf authority be overridden in a job stream?
How can the submitting users racf authority be overridden in a job stream?
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?
Can an individual step be restricted from using all the jobs allowed cpu time?
Are there any set of rules for the names of the steps used in a job?
Explain how can a jobs execution priority be modified?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?