Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what is the purpose of coding class parameter in job statement?

1263


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

1225


How to submit jcl through a cobol program?

1152


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

2295


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

2472


What is Cataloged Procedures?

1169


What do you understand by the term notcat 2 – gs?

1243


how would you create a temporary dataset? And where will you use them?

1407


What is the format of comment statement?

1227


What do you know about jcl?

1141


What is the difference between run mode and addressing mode?

1257


Is condition checking possible in jcl? If yes, how?

1292


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9754


What is jcl in mainframe, and how many types of jcl statements are there for a job?

1197


how can you check if a file is empty using jcl?

1424