Previous Topic: LIST StatementNext Topic: $CHARTOHEX Function


NOTIFY Statement

The NOTIFY statement transmits data or a message to the message line of an application panel or system panel in an online or batch environment. The message can also be sent to the operator console. The NOTIFY statement is useful for displaying a message with information about errors, instructions to continue, warnings, and so on to the user's or operator's terminal.

This statement has the following format:

NOTIFY list-specification [TO CONSOLE]

The NOTIFY message is sent from the program to the message line when the next TRANSMIT statement executes. The NOTIFY message is cleared from the message line when the next statement in the program executes after the TRANSMIT.

The TO CONSOLE clause lets the application send a message to the operator console. The message is also sent to the z/OS JESLOG or VSE POWER LOG in batch or to the CICS System Message Block online.

Note: The maximum length of a NOTIFY message is 79 characters. The maximum length of a NOTIFY message sent to a console is 72 characters.

For more information about NOTIFY statement, see the Programming Reference Guide.