Controlling queue managers for activity recording
To control whether queue managers are enabled or disabled for activity recording, use the queue manager attribute ACTIVREC. You can use the MQSC command
ALTER QMGR specifying the parameter ACTIVREC to change the value of the queue manager attribute. The value can be:
- MSG
- The queue manager is enabled for activity recording. Any activity reports generated are delivered to the reply-to queue specified in the message descriptor of the message. This is the default value.
- QUEUE
- The queue manager is enabled for activity recording. Any activity reports generated are delivered to the local system queue SYSTEM.ADMIN.ACTIVITY.QUEUE. The system queue can also be used to forward activity reports to a common queue, see Using a common queue for activity reports.
- DISABLED
- The queue manager is disabled for activity recording. No activity reports are generated while in the scope of this queue manager.
For example, to enable a queue manager for activity recording and specify that any activity reports generated are delivered to the local system queue SYSTEM.ADMIN.ACTIVITY.QUEUE, use the following MQSC command:
ALTER QMGR ACTIVREC(QUEUE)