IMS bridge feedback codes
IMS sense codes are typically output in hexadecimal format in IBM MQ console messages such as CSQ2001I (for example, sense code 0x001F). IBM MQ feedback codes as seen in the dead-letter header of messages put to the dead-letter queue are decimal numbers.
The IMS bridge feedback codes are in the range 301 through 399, or 600 through 855 for NACK sense code 0x001A. They are mapped from the IMS-OTMA sense codes as follows:
- The IMS-OTMA sense code is converted from a hexadecimal number to a decimal number.
- 300 is added to the number resulting from the calculation in 1, giving the IBM MQ Feedback code.
- The IMS-OTMA sense code 0x001A, decimal 26 is a special case. A Feedback code in the range 600-855 is generated.
- The IMS-OTMA reason code is converted from a hexadecimal number to a decimal number.
- 600 is added to the number resulting from the calculation in a, giving the IBM MQ Feedback code.
For information about IMS-OTMA sense codes, see the IMS messages and Codes.
Parent topic: How the IMS bridge deals with messages