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 methodology can be adapted to transfer data to a program that is coded using the exec statement?

866


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2126


how can you check if a file is empty using jcl?

1056


Name the statement which can be used to send data to another mvs jes3 node?

813


how you will the direct the data to spool using sysout option?

2107


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

2263


What is the purpose of disp parameter?

839


How can unused space allocation be returned to the system when a dataset is closed?

1093


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

952


What dd statement is used to supply the name of a dataset?

1071


What is the function of a dd statement?

912


what is the compile process of cobol program expalin with code

2302


What are the 2 types of parameters in dd statement?

861


what is use of disp parameter in dd statement?

836


if the submitter of a job wants to inform another user about the job completion, how can it be done?

985