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 is timing concept in mainframe?
What is catelog procedure and how many catelog procedure to use in one job?
how you will the direct the data to spool using sysout option?
How to submit a jcl from cics?
What is the motivation behind coding class parameter in job statement?
Are there any set of rules for the names of the steps used in a job?
What does a disposition of (MOD,DELETE,DELETE) mean ?
How to override loadlib?
What is the function of dd name parameter with a 2 part structure; audit.report?
Explain the function of a dd statement?
Does jcl support automatic restart?
How can a fb file convert to vb file using sort program?
How can the submitting users racf authority be overridden in a job stream?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
How is a type of file defined in the jcl that executes the cobol program?