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
What parameter directs the output of the job log dataset?
How to override loadlib?
Explain the function of a dd statement?
Is automatic restart possible in jcl?
How to do automated restart when a job abend?
Explain about ISPF/TSO Commands
Why include statement is used in a jcl?
What are steplib and joblib?
Explain the function of dd name parameter with a 2 part structure; audit.report?
What is one line to pass PARM from JCL to COBOL?
How do you submit a job for execution?
Is there any command to check wether the ps file is in sorted order?
What is the function of a dd statement?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
How to run cobol program using jcl?