Definition of COND parameter in JCL

Answer Posted / lavanya

hi,

we can code cond parameter on both job and exec
stmts.very step has to be executed a return code upon
completion.that is known as condition code.condition is
used to control the execution of the subsequent
steps.always the condition parameter based on the previous
step.suppose the given cond is true,the step is not
executed,otherwise it will bypassed to its next step.
FOR EX:-
JOB CARD
//STEP1 EXEC PGM=ABC
//STEP2 EXEC PGM=XYZ,COND=(4,LT,STEP1)
HERE THE CONDITION IS TRUE,
so,step will not executed.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

627


if the submitter of a job wants to inform another user about the job completion, how can it be done?

771


Matching Logic in Jcl not in cobol.Could any one please answer this question

3686


How can a stopped job be started again?

721


What is the purpose of disp parameter?

659






How do you access an uncatalogued dataset in a jcl?

738


Explain the function of the steplib dd statement?

662


define cond parameter in jcl?

787


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1591


What do you understand by jcl?

634


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

660


Explain the function of the dd dcb keyword?

719


Name the parameters which can be used to limit the number of records written to a sysout dataset?

664


how do you code a null statement?

791


What is the function of dd name parameter with a 2 part structure; audit.report?

714