Controlling events

You enable and disable events by specifying the appropriate values for queue manager, queue attributes, or both, depending on the type of event.

You must enable each instrumentation event that you want to be generated. For example, the conditions causing a Queue Full event are:
  • Queue Full events are enabled for a specified queue, and
  • An application issues an MQPUT request to put a message on that queue, but the request fails because the queue is full.
Enable and disable events by using any of the following techniques:
  • IBM® MQ script commands (MQSC).
  • The corresponding IBM MQ PCF commands.
  • [z/OS]The operations and control panels for queue managers on z/OS®.
  • The IBM MQ Explorer.
Note: You can set attributes related to events for both queues and queue managers only by command. The MQI call MQSET does not support attributes related to events.