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
Must tape dataset definitions include vol=ser specifications?
is there any way to execute more than one proc in the same exec statement at the same time..?
How do you submit a job for execution?
Explain the function of dd disp parameter?
How can values be passed from the job stream to an executable program?
For what purpose steplib and joblib are used ?
what are the types of abends that occur on job failure? And explain the possible causes of these
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
What are s0c1, s0c4, s0c5, s0c7 and socb?
Explain how can an in-stream dataset be terminated?
Explain dfsort utility?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
Describe the various parameters utilized in the creation of a gdg?
What is the function of the dd dcb keyword?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?