MaxChannels (MQLONG)

This attribute is the maximum number of channels that can be current (including server-connection channels with connected clients).

For z/OS, the value must be in the range 1 through 9 999, with a default value of 200.

A system that is busy serving connections from the network might need a higher number than the default setting. Determine the value that is correct for the environment, ideally by observing the behavior of our system during testing.

For all other platforms, the default value is 100. We can set MaxChannels to a different value to limit the maximum number of current channels if required.

The MaxChannels parameter is a queue manager attribute on z/OS only. On the other platforms, MaxChannels is an attribute in the qm.ini file. See Configuration file stanzas for distributed queuing for information on how you set the MaxChannels attribute on other platforms.

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


Related information