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 are the types of abends that occur on job failure? And explain the possible causes of these

1599


Explain the function of the steplib dd statement?

1115


What are some jcl statements that are not allowed in procedures?

1215


What is the purpose of dd?

1222


Is it possible to define dd statements as you want?

1097


What are hierarchy levels in jcl?

1510


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

2596


what sort card you will use to copy the data from one dataset to another dataset?

1194


What happens if both JOBLIB & STEPLIB is specified ?

1126


What is the purpose of disp parameter?

1106


how do you code a null statement?

1312


Explain how can an in-stream dataset be terminated?

1309


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1288


What parameter directs the output of the job log dataset?

1262


Matching Logic in Jcl not in cobol.Could any one please answer this question

4147