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,
Please used COND=ONLY in your last step which has to be executed whenever the jobs fails.
Thanks.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why block size is multiple of lrecl in jcl?
What are the 2 types of parameters in dd statement?
In sms datasets, what is the function of the dd avgrec keyword?
what operation is performed by job statement?
A dd statement consists of 4 fields. Name them?
Is it possible to left uncode disp?
What is the function of the steplib dd statement?
What statement can be used to send data to another mvs jes3 node?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
what is DSN parameter and DISP parameter is used for?
Can we call instream to catalog and catalog to instream?
What is catelog procedure and how many catelog procedure to use in one job?
How to pass the parameter in parm using linkage section ? (syntax)?
How can return codes be tested before execution of a job step?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?