Metadata
System messages have extra information associated with them called metadata. Each message has many metadata fields. These fields have a unique purpose in recording where the message has been, where it is going, or how to process it.
The easiest way to see all of a message's metadata is the msgdump command.
For example:
Input: msgdump message6
Access a message's metadata with the msgmetaget and msgmetaset commands. These commands present a keyed-list interface. In this case, each metadata field has a unique key which is used to retrieve or modify that field. The last entry, labeled "message," is a raw dump of the message data. ASCII hexadecimal values are used in lieu of non-printable characters. The rest of the entries are metadata fields.
Similar to keylget, msgmetaset returns the list of available keys.
For example:
Input: msgmetaget message6
Output: CLASS DATAFMT DESTCONN DRIVERCTL FLAGS ISSTATICDIRTY ISVARDIRTY MID ORIGDESTCONN ORIGSOURCECONN PRIORITY RETRIES
SKIPXLT GROUPID GROUPMID SOURCECONN SOURCEMID SOURCEMSIIDX STATE TIMEIN TIMEOUT TIMEQCUR TIMEQTOT TIMEXLT TYPE USERDATA
USERECOVERDB XLTTHREAD