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 difference between the positional and keyword parameters? Give examples.
Brief description of inline procedure of jcl.
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
What are the difference between jcl and jes?
what is use of dsn parameter in dd statement?
Explain the function of the steplib dd statement?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
What is the function of a dd statement?
How to override loadlib?
How can the attributes of one sms dataset be copied to another dataset?
how would you create a temporary dataset? And where will you use them?
Explain the function of job statement in jcl?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
Can we call instream to catalog and catalog to instream?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375