Visual Basic declaration for MQMD
Type MQMD StrucId As String*4 'Structure identifier' Version As Long 'Structure version number' Report As Long 'Options for report messages' MsgType As Long 'Message type' Expiry As Long 'Message lifetime' Feedback As Long 'Feedback or reason code' Encoding As Long 'Numeric encoding of message data' CodedCharSetId As Long 'Character set identifier of message' 'data' Format As String*8 'Format name of message data' Priority As Long 'Message priority' Persistence As Long 'Message persistence' MsgId As MQBYTE24 'Message identifier' CorrelId As MQBYTE24 'Correlation identifier' BackoutCount As Long 'Backout counter' ReplyToQ As String*48 'Name of reply queue' ReplyToQMgr As String*48 'Name of reply queue manager' UserIdentifier As String*12 'User identifier' AccountingToken As MQBYTE32 'Accounting token' ApplIdentityData As String*32 'Application data relating to identity' PutApplType As Long 'Type of application that put the' 'message' PutApplName As String*28 'Name of application that put the' 'message' PutDate As String*8 'Date when message was put' PutTime As String*8 'Time when message was put' ApplOriginData As String*4 'Application data relating to origin' GroupId As MQBYTE24 'Group identifier' MsgSeqNumber As Long 'Sequence number of logical message' 'within group' Offset As Long 'Offset of data in physical message' 'from start of logical message' MsgFlags As Long 'Message flags' OriginalLength As Long 'Length of original message' End Type