msetmsg


Use the msetmsg command to modify the status value of an event in a specified cell. Use the -s option to modify the slot value.

msetmsg syntax

The following figure shows the syntax for msetmsg.

msetmsg syntax

msetmsg [-h|-?] [-z] [-q] [-c <ConfigFile>]
{-p <Var=Value>} [-n <cellName> | -n @Host[/Port[#Key]]]
-u <EventId> -C -O -B -A -G
-S "<Slot Value[{;Slot=Value}>]"

The following table lists the command-specific options for msetmsg. For a list of common command options that apply to all CLI commands, see Event-management-common-command-options.

msetmsg options

Option

Description

-u EventId

Specifies the event handle of the event to be modified

-C

Sets the status value of the specified event to CLOSED

-O

Sets the status value of the specified event to OPEN

-A

Sets the status value of the specified event to ACK

-G

Sets the status value of the specified event to ASSIGNED

-B

Sets the status value of the specified event to BLACKOUT

-S "Slot=Value[{;Slot=Value}]"

Specified the slot to be modified and the changes to be made to the slot's value

msetmsg example

To close an event whose event ID (event_handle) is 12981, type the following command:

msetmsg -n cellName -u 12981 -C 

If this command is successful, it does not produce output.

msetmsg return codes

The following table lists the command-specific return codes for msetmsg. For a list of common return codes that apply to all CLI commands, see Event-management-return-codes.

msetmsg return codes

Code

Description

31

No event handle specified

32

Failed to set message

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*