Home
C invocation
MQSET (Hconn, Hobj, SelectorCount, Selectors, IntAttrCount, IntAttrs, CharAttrLength, CharAttrs, &CompCode, &Reason);Declare the parameters as follows:
MQHCONN Hconn; /* Connection handle */ MQHOBJ Hobj; /* Object handle */ MQLONG SelectorCount; /* Count of selectors */ MQLONG Selectors[n]; /* Array of attribute selectors */ MQLONG IntAttrCount; /* Count of integer attributes */ MQLONG IntAttrs[n]; /* Array of integer attributes */ MQLONG CharAttrLength; /* Length of character attributes buffer */ MQCHAR CharAttrs[n]; /* Character attributes */ MQLONG CompCode; /* Completion code */ MQLONG Reason; /* Reason code qualifying CompCode */
Home