MQCCDTURL

MQCCDTURL provides the equivalent capability to setting a combination of the MQCHLLIB and MQCHLTAB environment variables.

Attention: We can use the environment variable option only for native programs connecting as clients, that is C, COBOL, or C++ applications. The environment variables have no effect for Java, JMS or managed .NET applications.

IBM MQ supports retrieving a CCDT from a file, ftp, or http URL.

However MQCCDTURL only accepts a URL value; MQCCDTURL will not accept the existing local file system directory format.

To use MQCCDTURL, in place of MQCHLLIB and MQCHLTAB, to use a local file, we can use a 'file://' protocol. Therefore:
export MQCCDTURL=file:///var/mqm/qmgrs/QMGR/@ipcc/MYCHL.TAB
is equivalent to:
export MQCHLLIB=/var/mqm/qmgrs/QMGR/@ipcc
export MQCHLTAB=MYCHL.TAB
Parent topic: Use IBM MQ environment variables


Related concepts


Related tasks


Related reference


Related information