Hconn (MQHCONN) - input/output

This handle represents the connection to the queue manager. The value of Hconn was returned by a previous MQCONN or MQCONNX call.

On z/OS for CICS applications, and on i5/OS for applications running in compatibility mode, you can omit the MQCONN call, and specify the following value for Hconn:

MQHC_DEF_HCONN
Default connection handle.

On successful completion of the call, the queue manager sets Hconn to a value that is not a valid handle for the environment. This value is:

MQHC_UNUSABLE_HCONN
Unusable connection handle.

On z/OS, Hconn is set to a value that is undefined.