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


Please Help Members By Posting Answers For Below Questions

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.

1733


What are hierarchy levels in jcl?

958


How is the record format of an output dataset specified?

745


which utility is used to run a cobol-db2 program?

810


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

787






Which dd parameters are required?

695


List the different jcl statements that are not permitted in the procedures?

641


Describe the various parameters utilized in the creation of a gdg?

684


Brief description of inline procedure of jcl.

687


Where & How Do You Code Identifier In Jcl?

699


Is their any limit for data sets?

704


Explain the function of //cntl statement?

659


What is the format of comment statement?

669


Can we use DISP=SHR in output file in JCL

953


In sms datasets, what is the function of the dd mgmtclas keyword?

863