JCL NOTIFY Parameter
JCL NOTIFY parameter is an optional keyword parameter which is used to inform a TSO user when this job terminates either normally or abnormally.
The Syntax of JCL NOTIFY parameter:
NOTIFY= &SYSUID
OR
Notify = USER-ID
JCL NOTIFY=&SYSUID
So, I give Notify = &SYSUID
and if the job terminates normally or abnormally, then you will get the information about the status of the Job.
Example of NOTIFY=&SYSUID
Explanation
In this Case, it will notify the TSO user who submitted the JOB.
JCL NOTIFY=USER-ID
So, I give Notify = USER-ID
and if the job terminates normally or abnormally, then the TSO user with user-id as ‘USER-ID’ will get the information about the status of the Job.
Example of NOTIFY=USER-ID
Explanation
In this Case, it will notify the TSO user MATEKS5.
JCL Interview Question and Answers
- How can a job send a status message to a TSO user at the completion of a job?
Answer: NOTIFY