MQGET (Hconn, Hobj, &MsgDesc, &GetMsgOpts, BufferLength, Buffer, &DataLength, &CompCode, &Reason);
Declare the parameters as follows:
MQHCONN Hconn; /* Connection handle */ MQHOBJ Hobj; /* Object handle */ MQMD MsgDesc; /* Message descriptor */ MQGMO GetMsgOpts; /* Options that control the action of MQGET */ MQLONG BufferLength; /* Length in bytes of the Buffer area */ MQBYTE Buffer[n]; /* Area to contain the message data */ MQLONG DataLength; /* Length of the message */ MQLONG CompCode; /* Completion code */ MQLONG Reason; /* Reason code qualifying CompCode */
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csqzak10308 |