Client channel weight (CLNTWGHT)
This attribute specifies a weighting to influence which client-connection channel definition is used.
The client channel weighting attribute is used so that client channel definitions can be selected at random based on their weighting when more than one suitable definition is available.
Specify a value in the range 0 - 99. The default is 0.
A value of 0 indicates that no load balancing is performed and applicable definitions are selected in alphabetical order. To enable load balancing choose a value in the range 1 - 99 where 1 is the lowest weighting and 99 is the highest. The distribution of connections between two or more channels with non-zero weightings is proportional to the ratio of those weightings. For example, three channels with CLNTWGHT values of 2, 4, and 14 are selected approximately 10%, 20%, and 70% of the time. This distribution is not guaranteed. If the AFFINITY attribute of the connection is set to PREFERRED, the first connection chooses a channel definition according to client weightings, and then subsequent connections continue to use the same channel definition.
This attribute is valid for the client-connection channel type only.