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?
Answers were Sorted based on User's Feedback
Answer / sno
If the COND parameter is code on the JOB as well as the
EXEC stmnts, then the specifications on the JOB statement
nullifies the specification on the EXEC statement.
| Is This Answer Correct ? | 12 Yes | 3 No |
Answer / 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 |
Answer / 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 |
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
How I sort the records in a file and copy the first 10 records to another file
What is GDG and what is the maximum limit of versions that can be created?
Explain the function of dd disp parameter?
How would I code JCL to copy a gdg data set G001v00 and create a gdg Data set G001v01
List the different components of jcl statement?
what is the default region size if I dont specify region parametre in my job card ( I know that if I specify region=0k or 0M, then the job will occupy all he available resources at the time of job execution), but I want to know the defult value for "region" paramatre.
i created one base gdg with lrecl = 100 , now i need to create versions with different lrecl =150,200 can it be possible to create like tht ?
How to execute step2,step1, step3 if step1,2,3 are in order
When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step is bypassed or executed?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
how can i code cond parameter in procedures ? i have a jclk calling a proc which has 10 steps i want to execute from step 5 to step 10 where can i code restrat parameter or cond parameter for ths