MQ KMQCLEAREVENT

Use the MQ KMQCLEAREVENT command to remove current events that are no longer needed. Current events are displayed in the MQSeries Events workspace and the Current Events attribute group. This command can be issued either manually or automatically from situations. For example, you can use this take action command in a situation to remove all current events for the channel when a Channel Started event occurs.

The syntax of the command sent to the agent is as follows:

MQ:KMQCLEAREVENT EVENTID(&Current_Event.Event_Qualifier) EVENTQMGR(&Current_Event.Event_QMgr_Name) RESOURCE(&Current_Event.Resource_Name)

The EVENTID, EVENTQMGR, and RESOURCE parameters are all optional. If none of these parameters are specified, all current events are removed.