In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.
Answer Posted / anudeep
Hi ,
You can use the keyword COND=ONLY at the last.
This step will execute only if the job fails at any step.
Thanks,
Anudeep
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
how can you check if a file is empty using jcl?
how do you code a null statement?
What is Cataloged Procedures?
Matching Logic in Jcl not in cobol.Could any one please answer this question
which utility is used to run a cobol-db2 program?
Is acct parameter mandatory?
Is condition checking possible in jcl?
Explain the function of the steplib dd statement?
Explain how can an in-stream dataset be terminated?
Explain the purpose of dd * statement in jcl?
How can the disposition of sysout datasets be set for an entire jobstream?
What parameters can be used to limit the number of records written to a sysout dataset?
In job processing, what happens in execution stage?