Previous Topic: $BSCALL OPT=DISCARD

Next Topic: Dataset Services Interface


Notification Exit Interface

A notification exit is an installation written NCL procedure which performs the notification. The procedure is called with the following variables shared:

&$BSB1-n

These variables are set to the notification message lines.

&$BSBCNT

This variable is set to the number of lines of the notification.

&$BSUSER

This variable is set to the user ID specified in the notification rule. If it is blank, the UAMS user ID is used.

&$BSPARMS

This variable is set to the parameters specified in the notification rule.

The exit is invoked via an EXEC command and must set the system variable &RETCODE to indicate the following conditions:

0

Notification has been issued without errors.

8

Errors occurred. The notification might have been issued. The system variable &SYSMSG is set with a message that describes the error.