HCONN (10-digit signed integer) - input/output

Connection handle.

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

On i5/OS for applications running in compatibility mode, the MQCONN call can be omitted, and the following value specified for HCONN:

HCDEFH

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:

HCUNUH

Unusable connection handle.