Connecting client applications to queue managers using environment variables

Client channel information can be supplied to an application running in a client environment by environment variables.

An application running in an IBM® MQ MQI client environment can connect to a queue manager by using the following environment variables:
MQSERVER
The MQSERVER environment variable is used to define a minimal channel. MQSERVER specifies the location of the IBM MQ server and the communication method to be used.
MQCHLLIB
The MQCHLLIB environment variable specifies the directory path to the file containing the client channel definition table (CCDT). The file is created on the server, but can be copied across to the IBM MQ MQI client workstation.
MQCHLTAB
The MQCHLTAB environment variable specifies the name of the file containing the client channel definition table (CCDT).

[V9.0.0.0 Jun 2016]From IBM MQ 9.0, the MQCCDTURL environment variable provides the equivalent capability to setting a combination of the MQCHLLIB and MQCHLTAB environment variables. MQCCDTURL allows you to provide a file, ftp, or http URL as a single value from which a client channel definition table can be obtained. For more information, see Web addressable access to the client channel definition table.