+

Search Tips | Advanced Search

MQCONNX options for controlling accounting information collection

Use the ConnectOpts parameter on the MQCONNX call to modify the collection of both MQI and queue accounting information at the connection level by overriding the effective values of the queue manager attributes ACCTMQI and ACCTQ

The ConnectOpts parameter can have the following values:

    MQCNO_ACCOUNTING_MQI_ENABLED
    If the value of the queue manager attribute ACCTMQI is specified as OFF, MQI accounting is enabled for this connection. This is equivalent of the queue manager attribute ACCTMQI being specified as ON.

    If the value of the queue manager attribute ACCTMQI is not specified as OFF, this attribute has no effect.

    MQCNO_ACCOUNTING_MQI_DISABLED
    If the value of the queue manager attribute ACCTMQI is specified as ON, MQI accounting is disabled for this connection. This is equivalent of the queue manager attribute ACCTMQI being specified as OFF.

    If the value of the queue manager attribute ACCTMQI is not specified as ON, this attribute has no effect.

    MQCNO_ACCOUNTING_Q_ENABLED
    If the value of the queue manager attribute ACCTQ is specified as OFF, queue accounting is enabled for this connection. All queues with ACCTQ specified as QMGR, are enabled for queue accounting. This is equivalent of the queue manager attribute ACCTQ being specified as ON.

    If the value of the queue manager attribute ACCTQ is not specified as OFF, this attribute has no effect.

    MQCNO_ACCOUNTING_Q_DISABLED
    If the value of the queue manager attribute ACCTQ is specified as ON, queue accounting is disabled for this connection. This is equivalent of the queue manager attribute ACCTQ being specified as OFF.

    If the value of the queue manager attribute ACCTQ is not specified as ON, this attribute has no effect.

These overrides are by disabled by default. To enable them, set the queue manager attribute ACCTCONO to ENABLED. To enable accounting overrides for individual connections use the following MQSC command:

ALTER QMGR ACCTCONO(ENABLED)
Parent topic: Accounting information collection

Last updated: 2020-10-04