What is a COND parameter in JCL?

Answer Posted / yaswanth kumar j

Use the COND parameter to test return codes from previous
job steps and determine whether to bypass this job step.
You can specify one or more tests on the COND parameter,
and you can test return codes from particular job steps or
from every job step that has completed processing. If any
of the test conditions are satisfied, the system evaluates
the COND parameter as true and bypasses the job step. If
none of the test conditions specified on the COND parameter
are satisfied, the system evaluates the COND parameter as
false and executes the job step.

SYNTAX:

COND[.procstepname] =
(code,operator)
COND[.procstepname] = ((code,operator[,stepname]
[.procstepname])
[,(code,operator[,stepname][.procstepname])]...
[,EVEN])
[,ONLY]
COND=EVEN

COND=ONLY

Is This Answer Correct ?    27 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When space is allocated for an output dataset, what units can be used?

751


Must tape dataset definitions include vol=ser specifications?

983


How can a jobs execution priority be modified?

799


Explain how can a stopped job be started again?

636


How does jcl specify the job to the operating system?

753






What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

1807


What is use of restart and how to use it?

771


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

738


Is it possible to left uncode disp? If yes, how?

708


What is the format of comment statement?

668


Where can program checkpoints be stored for use in a restart?

851


what sort card you will use to copy the data from one dataset to another dataset?

730


Is their any set of rules for dd? Explain.

664


How does the jcl specify the job to os?

696


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

649