survNotify

Surveillance Notification Command

Use this command to send a customer-defined notification.

Keyword

survNotify

Permission

The user must be defined as a member of the primary group lsms.

Syntax

$LSMS_DIR/survNotify <MsgNo> SET <Text>

Options

None.

Parameters

MsgNo
Unique identifier for a customer-defined message. When the Action parameter has the value SET, this parameter is mandatory and must have a value in the range 9000-9999. When the Action parameter has any value other than SET, this parameter is not allowed.
SET
Send a surveillance notification which has the number specified by the MsgNo parameter and the text specified by Text parameter.
Text
The message text for a customer-defined notification. This parameter can contain up to 39 characters. If the text contains spaces, the text should begin and end with a double quote character. This parameter is optional.

Sample Output

 # Notify the Surveillance Monitor that a new customer-defined event has occurred
 $ $LSMS_DIR/survNotify 9001 SET "Job completed"
  
 Response Notes

This command has no output other than the prompt.

Possible Errors

Exit Codes: survNotify

Exit Code

Cause

Suggested Recovery

1

Socket open error.

Contact the My Oracle Support (MOS).

2

Usage error.

Correct the syntax.

3

Unknown operation argument.

Supply a valid operation argument.

This command is usually run by scripts; scripts should search for exit codes. When the command is run from the command line, the output indicates suggested recovery.