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
what is the use of IEBGENER utility?
what is the purpose of coding class parameter in job statement?
which utility is used to run a cobol-db2 program?
What happens if both JOBLIB & STEPLIB is specified ?
what is use of dcb parameter in dd statement?
is there any way to execute more than one proc in the same exec statement at the same time..?
What are some jcl statements that are not allowed in procedures?
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?
what is use of space parameter in dd statement?
What is one line to pass PARM from JCL to COBOL?
How to do automated restart when a job abend?
what is the purpose of coding notify parameter in job statement?
A dd statement consists of 4 fields. Name them?
What is the significance of addrspc parameter in exec statement?
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