RPG declaration (copy file CMQMDH)

     D*..1....:....2....:....3....:....4....:....5....:....6....:....7..
     D* MQMD Structure
     D*
     D* Structure identifier
     D  MDSID                  1      4
     D* Structure version number
     D  MDVER                  5      8I 0
     D* Options for report messages
     D  MDREP                  9     12I 0
     D* Message type
     D  MDMT                  13     16I 0
     D* Message lifetime
     D  MDEXP                 17     20I 0
     D* Feedback or reason code
     D  MDFB                  21     24I 0
     D* Numeric encoding of message data
     D  MDENC                 25     28I 0
     D* Character set identifier of message data
     D  MDCSI                 29     32I 0
     D* Format name of message data
     D  MDFMT                 33     40
     D* Message priority
     D  MDPRI                 41     44I 0
     D* Message persistence
     D  MDPER                 45     48I 0
     D* Message identifier
     D  MDMID                 49     72
     D* Correlation identifier
     D  MDCID                 73     96
     D* Backout counter
     D  MDBOC                 97    100I 0
     D* Name of reply queue
     D  MDRQ                 101    148
     D* Name of reply queue manager
     D  MDRM                 149    196
     D* User identifier
     D  MDUID                197    208
     D* Accounting token
     D  MDACC                209    240
     D* Application data relating to identity
     D  MDAID                241    272
     D* Type of application that put the message
     D  MDPAT                273    276I 0
     D* Name of application that put the message
     D  MDPAN                277    304
     D* Date when message was put
     D  MDPD                 305    312
     D* Time when message was put
     D  MDPT                 313    320
     D* Application data relating to origin
     D  MDAOD                321    324
     D* Group identifier
     D  MDGID                325    348
     D* Sequence number of logical message within group
     D  MDSEQ                349    352I 0
     D* Offset of data in physical message from start of logical message
     D  MDOFF                353    356I 0
     D* Message flags
     D  MDMFL                357    360I 0
     D* Length of original message
     D  MDOLN                361    364I 0