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 / becky
Region,COND and TIME can be coded in both job and EXEC.
Region coded in Job overrides Region in EXEC.
COND coded in job overrides COND in EXEC.
TIME coded in EXEC overrides TIME in JOB.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
what is DSN in JCL and what are the parameters to declare the DSN?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
what is the resolution for sb37 error
Describe the various parameters utilized in the creation of a gdg?
How does jcl act on code(if you take a cobol program)?
What is the difference between the positional and keyword parameters? Give examples.
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.
Suppose I have five jobs to do. But I want to hold one?
what is the use of JCL?
What are the 4 fields in dd statement?
what are JCLLIB and STEPLIB in JCL?
What are the jcl procedures?