The MQCLOSE subroutine relinquishes access to an object.
call MQCLOSE(Hconn, Hobj, Options, CompCode, Reason)
Parameter | Data Transfer | Description |
---|---|---|
Hconn | inbound | Connection handle. |
Hobj | inbound | Object handle. This handle represents the object that is being closed. |
Options | inbound | Options that control how the object is closed. MQCO_NONE is the default. |
CompCode | outbound | The completion code. Can be MQCC_OK or MQCC_FAILED. |
Reason | outbound | If the CompCode is MQCC_FAILED, the Reason gives a code that explains why. |