handles" /> HCONN (10-digit signed integer) - output

 

HCONN (10-digit signed integer) - output

Connection handle.

This handle represents the connection to the queue manager. It must be specified on all subsequent message queuing calls issued by the application. It ceases to be valid when the MQDISC call is issued, or when the unit of processing that defines the scope of the handle terminates.

The scope of the handle is restricted to the smallest unit of parallel processing supported by the platform on which the application is running; the handle is not valid outside the unit of parallel processing from which the MQCONN call was issued.

On i5/OS for applications running in compatibility mode, the value returned is:

HCDEFH

Default connection handle.