IBM Support

IC75049: PUTTING MESSAGES WITH MQ V7 UNMANAGED 64-BIT .NET CLIENT AND MQPMO_VERSION_2 FAILS WITH REASON CODE 2156

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using an unmanaged 64-bit .NET client application with
    MQPutMessageOptions.Version = MQPMO_VERSION_2 fails with
    reason code 2156 MQRC_RESPONSE_RECORDS_ERROR.
    
    This happens only when the .NET client application is compiled
    for 64-bit CPU or AnyCPU.
    

Local fix

  • Compile the .NET client application for 32-bit CPU.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of unmanaged WebSphere MQ .NET client who use
    MQPuMessageOptions.Version = 2 or higher on 64-bit machines
    with client applications compiled for x64 or AnyCPU.
    
    Platforms affected:
    Windows
    
    ****************************************************************
    PROBLEM SUMMARY:
    Two fields of the MQPMO structure were declared with an
    incorrect data type causing the size of the MQPMO structure to
    differ in the .NET layer and the native layer. This caused the
    native C layer to report a MQRC_RESPONSE_RECORDS_ERROR as it
    attempted to access an inaccessible address on the memory.
    

Problem conclusion

  • The fields of the MQPMO structure were modified to have the
    correct data types.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.6
    --------           --------------------
    Windows            U200328
    
    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

    IC75049

  • Reported component name

    WMQ WINDOWS V7

  • Reported component ID

    5724H7220

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-16

  • Closed date

    2011-03-29

  • Last modified date

    2011-03-29

  • 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

    WMQ WINDOWS V7

  • Fixed component ID

    5724H7220

Applicable component levels

  • R701 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSDEZSF","label":"IBM WebSphere MQ Managed File Transfer for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
31 March 2023