IBM Support

IT09607: WEBSPHERE MQ .NET METHOD READSTRING THROWS MQRC_UNEXPECTED_ERROR IF MESSAGE DATA CONTAINS RFH HEADER.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as documentation error.

Error description

  • The MQ .NET method ReadString fails with MQRC_UNEXPECTED_ERROR
    if message data contains RFH header.
    
    Exception stack will look like the below
    
     IBM.WMQ.MQException: MQRC_UNEXPECTED_ERROR
       at IBM.WMQ.MQBase.throwNewMQException(Int32 cc, Int32 rc)
       at IBM.WMQ.MQMessage.ReadString(Int32 length)
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of the MQ .NET client who use the ReadString method to
    read the message data from a message which contains an MQRFH or
    MQRFH2 header.
    
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    It is the designed behavior that the MQ .NET client returns
    MQRC_UNEXPECTED_ERROR if the ReadString method is used to read a
    message that contains MQRFH or MQRFH2 headers in the data. If
    message data contains RFH header then ReadByte method should be
    used to read the data.
    
    This behavior was not accurately reflected in the product
    documentation.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT09607

  • Reported component name

    WMQ BASE MULTIP

  • Reported component ID

    5724H7251

  • Reported release

    800

  • Status

    CLOSED DOC

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-06-23

  • Closed date

    2015-08-25

  • Last modified date

    2015-08-25

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.0.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
25 August 2015