Accounting messages

Accounting messages record information about the MQI operations performed by IBM MQ applications. An accounting message is a PCF message that contains a number of PCF structures.

When an application disconnects from a queue manager, an accounting message is generated and delivered to the system accounting queue (SYSTEM.ADMIN.ACCOUNTING.QUEUE). For long running IBM MQ applications, intermediate accounting messages are generated as follows:

  • When the time since the connection was established exceeds the configured interval.
  • When the time since the last intermediate accounting message exceeds the configured interval.

Accounting messages are in the following categories:

    MQI accounting messages
    MQI accounting messages contain information relating to the number of MQI calls made using a connection to a queue manager.

    Queue accounting messages
    Queue accounting messages contain information relating to the number of MQI calls made using connections to a queue manager, grouped by queue.

    Each queue accounting message can contain up to 100 records, with every record relating to an activity performed by the application with respect to a specific queue.

    Accounting messages are recorded only for local queues. If an application makes an MQI call against an alias queue, the accounting data is recorded against the base queue, and, for a remote queue, the accounting data is recorded against the transmission queue.