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 methodology can be adapted to transfer data to a program that is coded using the exec statement?
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
how can you check if a file is empty using jcl?
Name the statement which can be used to send data to another mvs jes3 node?
how you will the direct the data to spool using sysout option?
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
What is the purpose of disp parameter?
How can unused space allocation be returned to the system when a dataset is closed?
What are some jcl statements that are not allowed in procedures?
What dd statement is used to supply the name of a dataset?
What is the function of a dd statement?
what is the compile process of cobol program expalin with code
What are the 2 types of parameters in dd statement?
what is use of disp parameter in dd statement?
if the submitter of a job wants to inform another user about the job completion, how can it be done?