Home

 

Using MQCONNX

We can use the MQCONNX call to specify a channel definition (MQCD) structure in the MQCNO structure. This allows the calling client application to specify the definition of the client-connection channel at run-time. For more information, see Using the MQCNO structure on an MQCONNX call. When you use MQCONNX, the call issued at the server depends on the server level and listener configuration.

When you use MQCONNX from a client, the following options are ignored:

The MQCD structure we can use depends on the MQCD version number you are using. For information on MQCD versions (MQCD_VERSION), see WebSphere MQ Intercommunication. We can use the MQCD structure, for instance, to pass channel-exit programs to the server. If you are using MQCD V3 or later, we can use the structure to pass an array of exits to the server. We can use this function to perform more than one operation on the same message, such as encryption and compression, by adding an exit for each operation, rather than modifying an existing exit. If you do not specify an array in the MQCD structure, the single exit fields will be checked. For more information on channel-exit programs, see WebSphere MQ Intercommunication.



 

Home