IBM Support

IT27177: MQ DotNet application sets incorrect NameValueLength field in MQRFH2 when NameValueData has special characters

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • MQ Dot Net application sets a string property which includes one
    or more special characters for instance accented  characters, e
    acute 'é' or e grave 'è':
      message = new MQMessage();
      message.SetStringProperty("Region", "Vendée");
    
    The application puts the message with success. However
    NameValueLength field is incorrectly set and may cause problem
    when message is consumed.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    MQ DotNet users who generate messages with one or more special
    character in the MQRFH2
    
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    When special characters were set in the NameValueData field, the
    NameValueLength field was not calculated correctly. The
    incorrect length may have caused issues while consuming the
    messages.
    

Problem conclusion

  • MQ .NET code has been modified so that the correct value is
    updated to NameValueLength filed of the MQRFH2 type message.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.1 CD    9.1.3
    v9.1 LTS   9.1.0.3
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT27177

  • Reported component name

    IBM MQ BASE M/P

  • Reported component ID

    5724H7261

  • Reported release

    902

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-12-04

  • Closed date

    2019-02-28

  • Last modified date

    2019-02-28

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

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

Fix information

  • Fixed component name

    IBM MQ BASE M/P

  • Fixed component ID

    5724H7261

Applicable component levels

  • R902 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
21 November 2021