IBM Support

CSQ2005I MQFB_IIH_ERROR 296 X'00000128'

Question & Answer


Question

We have WebSphere MQ for z/OS and we are using IMS OTMA bridge. We are seeing some MQ application messages left unconverted and put on the DLQ with FEEDBACK=296 MQFB_IIH_ERROR 296 X'00000128' and message CSQ2005I issued to MSTR joblog.

Note: This question originated from a technote.

Answer

Change the putting application to encode the LL fields in the encoding from the MQMD.Encoding field.

Note that for an IMS bridge message with an IIH header, the encoding field within the IIH header is not relevant, and the subsequent data is treated as having the same encoding as the IIH header itself. For the supplied test messages, this means that we expect integer fields in both the IIH and the segments which follow the IIH to have the encoding in the MQMD.Encoding field.

The MQIIH.StrucLength field (offset x08) shows that the encoding is MQENC_INTEGER_NORMAL. And the LL field (at offset x54) is encoded with MQENC_INTEGER_REVERSED).

This means that the length for the 211 byte message appears as x'7F00', and for the 212 byte message it is x'8000'. Since we've been asked to interpret these as big endian, x'7F00' represents a large positive number, but x'8000' represents a negative number.

Although x'7F00' is far larger than it should be, I think we're still able to convert the data, because we just stop at the end of the message data.

For x'8000', however, we determine that the length is negative, and nversion fails.

This would result in the unconverted IIH being considered invalid, as it wouldn't be in the queue manager's CCSID.

Once we get to the 1024 byte message, the length field is x'0c04', which is once again a positive big-endian number, and so gets converted successfully.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPH2","label":"IBM Information Management System (IMS)"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
26 April 2017

UID

dwa1371267