Controlling events
All instrumentation events must be enabled before they can be generated.
For example, the conditions giving rise to 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.
You can enable and disable events by specifying the appropriate values
for queue manager or queue attributes (or both) depending on the type of event.
You do this using:
- WebSphere MQ script commands (MQSC). For more information, see the WebSphere MQ Script (MQSC) Command Reference manual.
- The corresponding WebSphere MQ PCF commands. For more information see the WebSphere MQ Programmable Command Formats and Administration Interface.
- The operations and control panels for queue managers on z/OS. For more
information, see the WebSphere MQ for z/OS System Administration Guide.
- The WebSphere MQ Explorer. For more information, see the WebSphere MQ System Administration Guide.
Note:
Attributes related to events for both queues and queue managers
can be set by command only. They are not supported by the MQI call MQSET.