MQCONNX environment variable

 

On WebSphere MQ for iSeries™, WebSphere MQ for Windows, and WebSphere MQ on UNIX systems, you can use the environment variable, MQ_CONNECT_TYPE in combination with the type of binding specified in the Options field. This environment variable allows you to execute the application with the STANDARD_BINDING if any problems occur with the FASTPATH_BINDING. You specify the environment variable with the value FASTPATH or STANDARD to select the type of binding required. However, the FASTPATH binding is used only if the connect option is appropriately specified as shown in Table 1:

The MQ_CONNECT_TYPE environment variable
MQCONNX call option MQ_CONNECT_TYPE environment variable Result
STANDARD UNDEFINED STANDARD
FASTPATH UNDEFINED FASTPATH
STANDARD STANDARD STANDARD
FASTPATH STANDARD STANDARD
STANDARD FASTPATH STANDARD
FASTPATH FASTPATH FASTPATH

So, to run a trusted application, either:

  1. Specify the MQCNO_FASTPATH_BINDING option on the MQCONNX call and the FASTPATH environment variable, or

  2. Specify the MQCNO_FASTPATH_BINDING option on the MQCONNX call and leave the environment variable undefined.

If neither MQCNO_STANDARD_BINDING nor MQCNO_FASTPATH_BINDING is specified, we can use MQCNO_NONE, which defaults to MQCNO_STANDARD_BINDING.

 

Parent topic:

Connecting to a queue manager using the MQCONNX call


fg12090_