ChannelStatistics (MQLONG) on Multiplatforms

This controls the collection of statistics data for channels.

The value is one of the following:

    MQMON_NONE
    Disable data collection for channel statistics for all channels regardless of the setting of the STATCHL channel attribute. This is the default value.

    MQMON_OFF
    Turn statistics data collection off for channels that specify QMGR in the STATCHL channel attribute.

    MQMON_LOW
    Turn statistics data collection on with a low ratio of data collection for channels specifying QMGR in the STATCHL channel attribute.

    MQMON_MEDIUM
    Turn statistics data collection on with a moderate ratio of data collection for channels specifying QMGR in the STATCHL channel attribute.

    MQMON_HIGH
    Turn statistics data collection on with a high ratio of data collection for channels specifying QMGR in the STATCHL channel attribute.

For most systems you are recommended to use MEDIUM. However, for a channel that processes a high volume of messages each second, you might want to reduce the sampling level by selecting LOW. Also, for a channel that processes only a few messages, and for which the most current information is important, you might want to select HIGH.

On z/OSĀ® systems, enabling this parameter simply turns on statistics data collection, regardless of the value you select. Specifying LOW, MEDIUM, or HIGH makes no difference to your results. This parameter must be enabled in order to collect channel accounting records.

To determine the value of this attribute, use the MQIA_STATISTICS_CHANNEL selector with the MQINQ call.