Using DEFINE CHANNEL

If you use the MQSC DEFINE CHANNEL command, the details you provide are placed in the client channel definition table. This file is accessed by the client, in channel name sequence, to determine the channel an application will use.

The contents of the Name parameter of the MQCONN or MQCONNX call determines which server the client connects to.