If the COND parameter is specified in both the JOB and EXEC
statements, which one will take precedence? If JOB takes
priority and if all the conditions evaluate to false, then
will the conditions on the EXEC step be evaluated next?
Answer Posted / suputhru
IF THE COND PARAMETER SPECIFIED AT BOTH JOB AND EXEC.
THEN JOB COND WILL OVERRIDE EXEC COND.
JOB COND WILL ACTIVE.
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
What is the motivation behind coding class parameter in job statement?
what is “Cond= even” and “Cond=only”?
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.
Does jcl support automatic restart?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
Explain the function of the steplib dd statement?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
what is a jcl?
What do you understand by the terms: joblib and steplib?
what is the use of JCL?
Explain about LMFREE�free data set from its association with data ID
What is the function of a dd statement?
Give the syntax of job specifying jcl statement.
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?
What is the purpose of dd * statement in jcl?