Specifying connection handles

 

For CICS on z/OS applications, we can specify the constant MQHC_DEF_HCONN (which has the value zero), or use the connection handle returned by the MQCONN or MQCONNX call. For other applications, always use the connection handle returned by the MQCONN or MQCONNX call.

Use the queue handle (Hobj) that is returned when you call MQOPEN.

 

Parent topic:

Getting messages from a queue using the MQGET call


fg12560_