Adds a message to a request
OA_ADD_NOTIFICATION
USER=...
Syntax |
Description/Format |
---|---|
USER= |
Name of the user |
Call the statement OA_ADD_NOTIFICATION for each message in the script. As soon as OA_SUBMIT_REQUEST is processed the agent hands over its definitions to Oracle. If additional submits are used in the script, redefine the messages beforehand using OA_ADD_NOTIFICATION.
Any error that occurs when the notification is passed on to Oracle is logged in the activation report and the job ends on return code 10.
Example:
OA_ADD_NOTIFICATION USER='MAX SMITH'
See also:
About the JCL of Oracle Applications