Message data in accounting and statistics messages
The message data in accounting and statistics messages is based on the programmable command format (PCF), which is used in PCF command inquiries and responses. The message data in accounting and statistics messages consists of a PCF header (MQCFH) and an accounting or statistics report.
Accounting and statistics message MQCFH (PCF header)
The message header of accounting and statistics messages is an MQCFH structure. The parameters and values in the message header of accounting and statistics message are the same as in the message header of event messages, with the following exceptions:
- Command
-
Description: Command identifier. This identifies the accounting or statistics message category. Data type: MQLONG. Values: - MQCMD_ACCOUNTING_MQI
- MQI accounting message.
- MQCMD_ACCOUNTING_Q
- Queue accounting message.
- MQCMD_STATISTICS_MQI
- MQI statistics message.
- MQCMD_STATISTICS_Q
- Queue statistics message.
- MQCMD_STATISTICS_CHANNEL
- Channel statistics message.
- Version
-
Description: Structure version number. Data type: MQLONG. Value: - MQCFH_VERSION_3
- Version-3 for accounting and statistics messages.
Accounting and statistics message data
The content of accounting and statistics message data is dependent on the category of the accounting or statistics message, as follows:
- MQI accounting message
- MQI accounting message data consists of a number of PCF parameters, but no PCF groups.
- Queue accounting message
- Queue accounting message data consists of a number of PCF parameters, and in the range 1 through 100 QAccountingData PCF groups.
- MQI statistics message
- MQI statistics message data consists of a number of PCF parameters, but no PCF groups.
- Queue statistics message
- Queue statistics message data consists of a number of PCF parameters, and in the range 1 through 100 QStatisticsData PCF groups.
- Channel statistics message
- Channel statistics message data consists of a number of PCF parameters, and in the range 1 through 100 ChlStatisticsData PCF groups.
Parent topic: Accounting and statistics message reference