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...

How to send notification to multiple users through jcl???

Answer Posted / jin

Just add a step to send message at end of JCL when your step
RC = 0

//STEP1 EXEC PGM=...
...

// IF STEP1.RC = 0 THEN
//STEPNAME EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DDNAME=SYSIN
SEND 'MESSAGE' U(USERID1,USERID2,USERID3) LOGON
// ENDIF

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of IEBGENER utility?

1161


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

1254


which utility is used to run a cobol-db2 program?

1385


What happens if both JOBLIB & STEPLIB is specified ?

1137


what is use of dcb parameter in dd statement?

1293


is there any way to execute more than one proc in the same exec statement at the same time..?

2624


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

1228


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

1388


what is use of space parameter in dd statement?

1263


What is one line to pass PARM from JCL to COBOL?

4950


How to do automated restart when a job abend?

1371


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

1155


A dd statement consists of 4 fields. Name them?

1417


What is the significance of addrspc parameter in exec statement?

1197


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7796