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

The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The DISP in the JCL is SHR and the program opens the file in EXTEND mode. What happens ?

3 Answers  


What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?

4 Answers  


how to modify the copy book?explain with examples

2 Answers   TCS,


which parameter is used to check the syntax of a jcl without executing it?

0 Answers   IBM,


I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?

10 Answers   iGate,






I have a dataset with record length 40 in production, due to some requirements it was changed to 80. Then how can we know the jobs which are effected by this change and how can we resolve it.

3 Answers   iGate,


Explain about ISPFTTRC

1 Answers  


wht do u mean by inrec and outrec ?

1 Answers   IBM,


How many types of libraries are there in JCL ?

2 Answers   IBM,


In SPACE,what is directory,RLSE

6 Answers   TCS,


Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?

3 Answers  


In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.

4 Answers  


Categories