Specifying handles

 

For the connection handle (Hconn) in CICS on z/OS applications, we can specify the constant MQHC_DEF_HCONN (which has the value zero), or we can 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.

Whatever environment you are working in, use the same queue handle (Hobj) that is returned by the MQOPEN call.

 

Parent topic:

Putting messages on a local queue using the MQPUT call


fg12330_