Sending messages to the WebSphere MQ-IMS bridge

 

To ensure that conversion is performed correctly, tell the queue manager what the format of the message is. If the message has an MQIIH structure, the Format in the MQMD must be set to the built-in format MQFMT_IMS, and the Format in the MQIIH must be set to the name of the format that describes your message data. If there is no MQIIH, set the Format in the MQMD to your format name.

If your data (other than the LLZZs) is all character data (MQCHAR), use as your format name (in the MQIIH or MQMD, as appropriate) the built-in format MQFMT_IMS_VAR_STRING. Otherwise, use your own format name, in which case also provide a data-conversion exit for your format. The exit must handle the conversion of the LLZZs in your message, in addition to the data itself (but it does not have to handle any MQIIH at the start of the message).

If your application uses MFSMapName, you are recommended to use messages with the MQFMT_IMS instead, and define the map name passed to the IMS™ transaction in the MFSMapName field of the MQIIH.

 

Parent topic:

Data conversion


fg15980_