MaxActiveChannels (MQLONG)

This attribute is the maximum number of channels that can be active at any time.

The default is the value specified for the MaxChannels attribute.

For z/OS®, the value must be in the range 1 through 9 999.

For all other platforms, the default value is 999 999 999, which means the number of active channels is unlimited, or it can be set to an actual number to impose a limit.

[MQ Appliance]You should not change the MaxActiveChannels value on IBM® MQ Appliance. If you want to limit the maximum number of client channels, use the per-channel MAXINST and MAXINSTC attributes on the SVRCONN channel definitions to define limits for each SVRCONN channel, see Queue manager configuration on the IBM MQ Appliance in the IBM MQ Appliance documentation.

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

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