C declaration
typedef struct tagMQDH MQDH;
struct tagMQDH {
MQCHAR4 StrucId; /* Structure identifier */
MQLONG Version; /* Structure version number */
MQLONG StrucLength; /* Length of MQDH structure plus following
MQOR and MQPMR records */
MQLONG Encoding; /* Numeric encoding of data that follows
the MQOR and MQPMR records */
MQLONG CodedCharSetId; /* Character set identifier of data that
follows the MQOR and MQPMR records */
MQCHAR8 Format; /* Format name of data that follows the
MQOR and MQPMR records */
MQLONG Flags; /* General flags */
MQLONG PutMsgRecFields; /* Flags indicating which MQPMR fields are
present */
MQLONG RecsPresent; /* Number of MQOR records present */
MQLONG ObjectRecOffset; /* Offset of first MQOR record from start
of MQDH */
MQLONG PutMsgRecOffset; /* Offset of first MQPMR record from start
of MQDH */
};