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 do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
what is JCL?
Matching Logic in Jcl not in cobol.Could any one please answer this question
Explain the purpose of the dd keylen parameter?
Which statement is used to identify the private libraries in job?
How gdg are concatenated?
Explain how can an in-stream dataset be terminated?
Is their any limit for data sets?
Does jcl support automatic restart?
What is one line to pass PARM from JCL to COBOL?
What dd statement is used to supply the name of a dataset?
How to run cobol program using jcl?
How does jcl act on a cobol code?
What are steplib and joblib? What for they are used?