accessing client-connection channel definitions, Active Directory, setmqscp command" /> Accessing client-connection channel definitions
Home

 

Accessing client-connection channel definitions

If the client channel definition table on the server machine cannot be accessed from the client machine as a shared file, copy the client channel definition table to the client machine as a binary file. On the client machine, we can then use the environment variables, MQCHLLIB and MQCHLTAB, to specify the location and name of the file containing the client channel definition table. The WebSphere MQ client uses the values of these environment variables to access the client channel definition table. See MQCHLLIB and MQCHLTAB for more information.

For example, we can set the environment variables on a UNIX system by typing:

export MQCHLLIB=/mqmtop/qmgrs/QUEUEMANAGERNAME/@ipcc
export MQCHLTAB=AMQCLCHL.TAB

As an alternative to using environment variables MQCHLLIB and MQCHLTAB on Windows systems, we can use the setmqscp control command to publish the client-connection channel definitions in Active Directory. For information about this command and its syntax, see the WebSphere MQ System Administration Guide.

Note:
If the MQSERVER environment variable is set, a WebSphere MQ client uses the client-connection channel definition specified by MQSERVER in preference to any definitions in the client channel definition table.

 

Home