RPG declaration (copy file CMQDHH)
D*..1....:....2....:....3....:....4....:....5....:....6....:....7..
D* MQDH Structure
D*
D* Structure identifier
D DHSID 1 4
D* Structure version number
D DHVER 5 8I 0
D* Length of MQDH structure plus following MQOR and MQPMR records
D DHLEN 9 12I 0
D* Numeric encoding of data that follows the MQOR and MQPMR records
D DHENC 13 16I 0
D* Character set identifier of data that follows the MQOR and MQPMR
D* records
D DHCSI 17 20I 0
D* Format name of data that follows the MQOR and MQPMR records
D DHFMT 21 28
D* General flags
D DHFLG 29 32I 0
D* Flags indicating which MQPMR fields are present
D DHPRF 33 36I 0
D* Number of MQOR records present
D DHCNT 37 40I 0
D* Offset of first MQOR record from start of MQDH
D DHORO 41 44I 0
D* Offset of first MQPMR record from start of MQDH
D DHPRO 45 48I 0