Definition of COND parameter in JCL

Answer Posted / vish

To be more specific, COND parameter is used to determine
whether to execute a particular steps or steps based on the
return from a previous step (s). e.g. you may want to send
an email notification to someone ONLY if a particular Job
step abends or return a return code greater than acceptable
norm. In such situation the EMAIL STEP (ideally should be
the next step of the step whose notification is needed if
abend occurs) can be coded with COND=ONLY. Similarly
COND=EVEN will execute a step EVEN if the previous step
abended. We can specify two parameters for COND in oder for
the Job to decide whether to execute the step or not. e.g.
COND=(0,LE) - This will execute the step only if the return
code of the previous step is Zero.

Is This Answer Correct ?    10 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to override loadlib?

1522


How can values be passed from the job stream to an executable program?

961


what happens in conversion stage in job processing?

822


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

795


What dd statement is used to supply the name of a dataset?

909






How is a type of file defined in the jcl that executes the cobol program?

817


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

669


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

861


Explain the jcl exec statement?

745


Can I send output of job to my remote device careerride123?

761


What is the purpose of dd?

824


In job processing, what happens in execution stage?

770


Explain how can values be passed from the job stream to an executable program?

721


How jcl is used for testing batch programs?

824


what is DSN in JCL and what are the parameters to declare the DSN?

822