NOTIFY statement
Purpose: Use the NOTIFY statement to send notification to a user when the job completes execution.
The notification can be issued conditionally, based on how the job ended. Notifications can be sent by using a TSO SEND command to a TSO user ID or by using an email message to an email address. Up to 8 NOTIFY JCL statements can be included in a batch job. They are supported for batch jobs, started tasks (STCs), and job groups.
Note: The NOTIFY statement is supported by JES2 only, beginning in z/OS V2R3.