Home
PL/I invocation
call MQINQ (Hconn, Hobj, SelectorCount, Selectors, IntAttrCount, IntAttrs, CharAttrLength, CharAttrs, CompCode, Reason);Declare the parameters as follows:
dcl Hconn fixed bin(31); /* Connection handle */ dcl Hobj fixed bin(31); /* Object handle */ dcl SelectorCount fixed bin(31); /* Count of selectors */ dcl Selectors(n) fixed bin(31); /* Array of attribute selectors */ dcl IntAttrCount fixed bin(31); /* Count of integer attributes */ dcl IntAttrs(n) fixed bin(31); /* Array of integer attributes */ dcl CharAttrLength fixed bin(31); /* Length of character attributes buffer */ dcl CharAttrs char(n); /* Character attributes */ dcl CompCode fixed bin(31); /* Completion code */ dcl Reason fixed bin(31); /* Reason code qualifying CompCode */
Home