JCL NOTIFYJCL - MSGLEVEL JCL - PAGES
NOTIFY is used to send the notification of the job status when the job completed normally or abnormally.
Identifies the user that the system to notify.
NOTIFY is optional parameter.
NOTIFY = &SYSUID/USERID
|USERID||Identifies the user that the system used to notify.|
The userid is 1 through 7 alphanumeric characters.
Must be a valid TSO userid.
|&SYSUID||Identifies the user that the system used to notify.|
While running the JOB, system replaces &SYSUID with the user ID who submitted the JOB.
The system replaces &SYSUID from either the JOB statement USER parameter or the user ID from which the job was submitted.
&SYSUID will notify the current user who submitted the JOB.
//MTHEXMP1 JOB (META007),'PAWAN Y', NOTIFY=MTHUSER
This JOB statement indicates that job completion notification sends to MTHUSER.
//MTHEXMP2 JOB (META007),'PAWAN Y',NOTIFY=&SYSUID
This JOB statement indicates that the job completion notification sends to the submitter of the JOB.
JCL - MSGLEVEL JCL - PAGES