The MQINQ subroutine returns an array of integers and a set of character strings containing the attributes of either a queue, process definition, or queue manager object.
call MQINQ(Hconn, HObj, IntSel, CharSel, IntVal, CharVal, CompCode, Reason)
| Parameter | Data Transfer | Description |
|---|---|---|
| Hconn | inbound | Connection handle. |
| Hobj | inbound | Object Descriptor Handle. Must have been opened with the MQOO_INQUIRE option. |
| IntSel | inbound | Multivalue integer selectors we want. |
| CharSel | inbound | Multivalue char selectors we want. |
| IntVal | outbound | Multivalue values of the integer selectors. |
| CharVal | outbound | Multivalue values of the character selectors. |
| CompCode | outbound | Completion Code (MSQCC_OK|MSQCC_WARNING| MSQCC_FAILED). |
| Reason | outbound | Reason code for qualifying CompCode. |