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
How to override loadlib?
How can values be passed from the job stream to an executable program?
what happens in conversion stage in job processing?
What is the function of dd name parameter with a 2 part structure; audit.report?
What dd statement is used to supply the name of a dataset?
How is a type of file defined in the jcl that executes the cobol program?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
Explain the jcl exec statement?
Can I send output of job to my remote device careerride123?
What is the purpose of dd?
In job processing, what happens in execution stage?
Explain how can values be passed from the job stream to an executable program?
How jcl is used for testing batch programs?
what is DSN in JCL and what are the parameters to declare the DSN?