Format of statistics messages

Statistics messages are constructed as a set of PCF fields that consist of the following:

A message descriptor

A statistics message MQMD (message descriptor)

Accounting message data

  • A statistics message MQCFH (PCF header)

  • Statistics message data that is always returned

  • Statistics message data that is returned if available

The statistics message MQCFH (PCF header) contains information about the interval for which the statistics data was recorded.

Statistics message data is comprised of PCF parameters that store the statistics information. The content of statistics messages depends on the message category as follows:

MQI statistics message

MQI statistics message data consists of a number of PCF parameters, but no PCF groups.

The parameters contained in MQI statistics message data are described in MQI statistics message data.

Queue statistics message

Queue statistics message data consists of a number of PCF parameters, and between one and one hundred QStatisticsData PCF groups.

There is one QStatisticsData PCF group for every queue was active in the interval. If more than 100 queues were active in the interval, multiple statistics messages are generated. Each message has the SeqNumber in the MQCFH (PCF header) updated accordingly, and the last message in the sequence has the Control parameter in the MQCFH specified as

MQCFC_LAST.

The parameters contained in queue statistics message data are described in Queue statistics message data.

Channel statistics message

Channel statistics message data consists of a number of PCF parameters, and between one and one hundred ChlStatisticsData PCF groups.

There is one ChlStatisticsData PCF group for every channel that was active in the interval. If more than 100 channels were active in the interval, multiple statistics messages are generated. Each message has the SeqNumber in the MQCFH (PCF header) updated accordingly, and the last message in the sequence has the Control parameter in the MQCFH specified as

MQCFC_LAST.

The parameters contained in channel statistics message data are described in Channel statistics message data.