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



If the COND parameter is specified in both the JOB and EXEC statements, which one will take preced..

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

If the COND parameter is specified in both the JOB and EXEC statements, which one will take preced..

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

If the COND parameter is specified in both the JOB and EXEC statements, which one will take preced..

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

If the COND parameter is specified in both the JOB and EXEC statements, which one will take preced..

Answer / ratheesh

EXEC takes priority.

Is This Answer Correct ?    8 Yes 14 No

Post New Answer

More JCL Interview Questions

Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?

5 Answers   Patni,


i have 10 steps in jcl program but i have to exicute only 2,4,6,8th and 10th ?how it's possible?

10 Answers   IBM,


List the different components of jcl statement?

0 Answers  


i have 6 steps in my jcl program after going to 5th step i want to execute 3rd step.....how can i do it....by using(RESTART) can i do it or not?

2 Answers   Wipro,


Which is the most widely used batch performance monitor for DB2?

2 Answers  






What is COND=ONLY ?

2 Answers  


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

0 Answers   IBM,


GDGs can be CREATED (not COPIED) only on DASD and NOT on tape drives ? Is it True ?

2 Answers   ABC, IBM,


what is a MODELDSCB?

1 Answers  


Definition of COND parameter in JCL

5 Answers   TCS,


is there any way to execute more than one proc in the same exec statement at the same time..?

0 Answers  


We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?

5 Answers   IBM, JPMorgan Chase,


Categories