Fields for MQMD
The MQMD structure contains the following fields; the fields are described in alphabetical order:
Field | Description | Topic |
---|---|---|
StrucId | Structure identifier | StrucId |
Version | Structure version number | Version |
Report | Options for report messages | Report |
MsgType | Message type | MsgType |
Expiry | Message lifetime | MQMD - Expiry field |
Feedback | Feedback or reason code | MQMD - Feedback field |
Encoding | Numeric encoding of message data | Encoding |
CodedCharSetId | Character set identifier of message data | CodedCharSetId |
Format | Format name of message data | Format |
Priority | Message priority | Priority |
Persistence | Message persistence | Persistence |
MsgId | Message identifier | MQMD - MsgId field |
CorrelId | Correlation identifier | CorrelId |
BackoutCount | Backout counter | BackoutCount |
ReplyToQ | Name of reply queue | ReplyToQ |
ReplyToQMgr | Name of reply queue manager | ReplyToQMgr |
UserIdentifier | User identifier | UserIdentifier |
AccountingToken | Accounting token | AccountingToken |
ApplIdentityData | Application data relating to identity | ApplIdentityData |
PutApplType | Type of application that put the message | PutApplType |
PutApplName | Name of application that put the message | PutApplName |
PutDate | Date when message was put | PutDate |
PutTime | Time when message was put | PutTime |
ApplOriginData | Application data relating to origin | ApplOriginData |
Note: The remaining fields are ignored if Version is less than MQMD_VERSION_2. | ||
GroupId | Group identifier | GroupId |
MsgSeqNumber | Sequence number of logical message within group | MsgSeqNumber |
Offset | Offset of data in physical message from start of logical message | Offset |
MsgFlags | Message flags | MQMD - MsgFlags field |
OriginalLength | Length of original message | OriginalLength |
- AccountingToken (MQBYTE32)
- ApplIdentityData (MQCHAR32)
- ApplOriginData (MQCHAR4)
- BackoutCount (MQLONG)
- CodedCharSetId (MQLONG)
This field specifies the character set identifier of character data within the message body. - CorrelId (MQBYTE24)
The CorrelId field is property in the message header that may be used to identify a specific message or group of messages. - Encoding (MQLONG)
- Expiry (MQLONG)
- Feedback (MQLONG)
The Feedback field is used with a message of type MQMT_REPORT to indicate the nature of the report, and is only meaningful with that type of message. - Format (MQCHAR8)
- GroupId (MQBYTE24)
- MsgFlags (MQLONG)
MsgFlags are flags that specify attributes of the message, or control its processing. - MsgId (MQBYTE24)
- MsgSeqNumber (MQLONG)
This is the sequence number of a logical message within a group. - MsgType (MQLONG)
- Offset (MQLONG)
- OriginalLength (MQLONG)
- Persistence (MQLONG)
- Priority (MQLONG)
- PutApplName (MQCHAR28)
This is the name of application that put the message, and is part of the origin context of the message. The contents differ between platforms, and might differ between releases. - PutApplType (MQLONG)
- PutDate (MQCHAR8)
- PutTime (MQCHAR8)
- ReplyToQ (MQCHAR48)
- ReplyToQMgr (MQCHAR48)
- Report (MQLONG)
- StrucId (MQCHAR4)
- UserIdentifier (MQCHAR12)
- Version (MQLONG)
Parent topic: MQMD - Message descriptor