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 difference between the positional and keyword parameters? Give examples.

716


Brief description of inline procedure of jcl.

687


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

791


What are the difference between jcl and jes?

1050


what is use of dsn parameter in dd statement?

673






Explain the function of the steplib dd statement?

649


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

681


What is the function of a dd statement?

709


How to override loadlib?

1428


How can the attributes of one sms dataset be copied to another dataset?

861


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

771


Explain the function of job statement in jcl?

652


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?

740


Can we call instream to catalog and catalog to instream?

685


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

1041