C declaration
typedef struct tagMQGMO MQGMO;
struct tagMQGMO {
MQCHAR4 StrucId; /* Structure identifier */
MQLONG Version; /* Structure version number */
MQLONG Options; /* Options that control the action of
MQGET */
MQLONG WaitInterval; /* Wait interval */
MQLONG Signal1; /* Signal */
MQLONG Signal2; /* Signal identifier */
MQCHAR48 ResolvedQName; /* Resolved name of destination queue */
MQLONG MatchOptions; /* Options controlling selection criteria
used for MQGET */
MQCHAR GroupStatus; /* Flag indicating whether message
retrieved is in a group */
MQCHAR SegmentStatus; /* Flag indicating whether message
retrieved is a segment of a logical
message */
MQCHAR Segmentation; /* Flag indicating whether further
segmentation is allowed for the message
retrieved */
MQCHAR Reserved1; /* Reserved */
MQBYTE16 MsgToken; /* Message token */
MQLONG ReturnedLength; /* Length of message data returned
(bytes) */
};
- On z/OS, the Signal1 field is declared as PMQLONG.