Message Image  

App Connect

How to find the value of constants to assign to the MQMD header in a message map 

Tue June 02, 2020 07:55 AM

This article provides reference tables and links to help you get values of constants that you must set for fields in the MQMD header of a message map.

For more information about the MQMD, see the Constants section
of the WebSphere MQ Version 7.5 product documentation in IBM Knowledge Center.

MQMD_* (Message descriptor structure)

MQMD_STRUC_ID “MDbb”
MQMD_STRUC_ID_ARRAY ‘M’,’D’,’b’,’b’
MQMD_VERSION_1 1 X’00000001′
MQMD_VERSION_2 2 X’00000002′
MQMD_CURRENT_VERSION 2 X’00000002′

MQMT_* (Message Types)

MQMT_SYSTEM_FIRST 1 X’00000001′
MQMT_REQUEST 1 X’00000001′
MQMT_REPLY 2 X’00000002′
MQMT_DATAGRAM 8 X’00000008′
MQMT_REPORT 4 X’00000004′
MQMT_MQE_FIELDS_FROM_MQE 112 X’00000070′
MQMT_MQE_FIELDS 113 X’00000071′
MQMT_SYSTEM_LAST 65535 X’0000FFFF’
MQMT_APPL_FIRST 65536 X’00010000′
MQMT_APPL_LAST 999999999 X’3B9AC9FF’

MQFMT_* (Formats)

MQFMT_NONE “bbbbbbbb”
MQFMT_ADMIN “MQADMINb”
MQFMT_CHANNEL_COMPLETED “MQCHCOMb”
MQFMT_CICS “MQCICSbb”
MQFMT_COMMAND_1 “MQCMD1bb”
MQFMT_COMMAND_2 “MQCMD2bb”
MQFMT_DEAD_LETTER_HEADER “MQDEADbb”
MQFMT_DIST_HEADER “MQHDISTb”
MQFMT_EMBEDDED_PCF “MQHEPCFb”
MQFMT_EVENT “MQEVENTb”
MQFMT_IMS “MQIMSbbb”
MQFMT_IMS_VAR_STRING “MQIMSVSb”
MQFMT_MD_EXTENSION “MQHMDEbb”
MQFMT_PCF “MQPCFbbb”
MQFMT_REF_MSG_HEADER “MQHREFbb”
MQFMT_RF_HEADER “MQHRFbbb”
MQFMT_RF_HEADER_1 “MQHRFbbb”
MQFMT_RF_HEADER_2 “MQHRF2bb”
MQFMT_STRING “MQSTRbbb”
MQFMT_TRIGGER “MQTRIGbb”
MQFMT_WORK_INFO_HEADER “MQHWIHbb”
MQFMT_XMIT_Q_HEADER “MQXMITbb”
MQFMT_NONE_ARRAY ‘b’,’b’,’b’,’b’,’b’,’b’,’b’,’b’
MQFMT_ADMIN_ARRAY ‘M’,’Q’,’A’,’D’,’M’,’I’,’N’,’b’
MQFMT_CHANNEL_COMPLETED_ARRAY ‘M’,’Q’,’C’,’H’,’C’,’O’,’M’,’b’
MQFMT_CICS_ARRAY ‘M’,’Q’,’C’,’I’,’C’,’S’,’b’,’b’
MQFMT_COMMAND_1_ARRAY ‘M’,’Q’,’C’,’M’,’D’,’1′,’b’,’b’
MQFMT_COMMAND_2_ARRAY ‘M’,’Q’,’C’,’M’,’D’,’2′,’b’,’b’
MQFMT_DEAD_LETTER_HEADER_ARRAY ‘M’,’Q’,’D’,’E’,’A’,’D’,’b’,’b’
MQFMT_DIST_HEADER_ARRAY ‘M’,’Q’,’H’,’D’,’I’,’S’,’T’,’b’
MQFMT_EMBEDDED_PCF_ARRAY ‘M’,’Q’,’H’,’E’,’P’,’C’,’F’,’b’
MQFMT_EVENT_ARRAY ‘M’,’Q’,’E’,’V’,’E’,’N’,’T’,’b’
MQFMT_IMS_ARRAY ‘M’,’Q’,’I’,’M’,’S’,’b’,’b’,’b’
MQFMT_IMS_VAR_STRING_ARRAY ‘M’,’Q’,’I’,’M’,’S’,’V’,’S’,’b’
MQFMT_MD_EXTENSION_ARRAY ‘M’,’Q’,’H’,’M’,’D’,’E’,’b’,’b’
MQFMT_PCF_ARRAY ‘M’,’Q’,’P’,’C’,’F’,’b’,’b’,’b’
MQFMT_REF_MSG_HEADER_ARRAY ‘M’,’Q’,’H’,’R’,’E’,’F’,’b’,’b’
MQFMT_RF_HEADER_ARRAY ‘M’,’Q’,’H’,’R’,’F’,’b’,’b’,’b’
MQFMT_RF_HEADER_1_ARRAY ‘M’,’Q’,’H’,’R’,’F’,’b’,’b’,’b’
MQFMT_RF_HEADER_2_ARRAY ‘M’,’Q’,’H’,’R’,’F’,’2′,’b’,’b’
MQFMT_STRING_ARRAY ‘M’,’Q’,’S’,’T’,’R’,’b’,’b’,’b’
MQFMT_TRIGGER_ARRAY ‘M’,’Q’,’T’,’R’,’I’,’G’,’b’,’b’
MQFMT_WORK_INFO_HEADER_ARRAY ‘M’,’Q’,’H’,’W’,’I’,’H’,’b’,’b’
MQFMT_XMIT_Q_HEADER_ARRAY ‘M’,’Q’,’X’,’M’,’I’,’T’,’b’,’b’

#IIB
#Integration
#GDM