IBM Support

IT05670: WEBSPHERE MQ: SETBOOLEANPROPERTY("PROP_NAME", TRUE) DOESN'T SET CORRECT BOOLEAN VALUE IN THE MESSAGE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When setting a boolean property in a .Net application,
    the value is not correctly converted and set in the message.
    .Net ToString() serialises a Boolean type to either "true" or
    "false". MQ Expects a Boolean types to be serialised to either
    "1" or "0".
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    This APAR affects all non .Net client applications, that consume
    messages with custom Boolean properties, produced by a .Net
    client.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    The .Net C# language's ToString method, serialises a Boolean
    variable to either "true" or "false". This value was set to the
    value of an RFH2 custom property with type Boolean. MQ expects
    Boolean values to be serialised to either "1" or "0".
    

Problem conclusion

  • This APAR changes the .Net client to serialise Boolean custom
    properties, to either "1" or "0".
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v7.5       7.5.0.6
    v8.0       8.0.0.2
    
    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

    IT05670

  • Reported component name

    WMQ BASE MULTIP

  • Reported component ID

    5724H7241

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-11-19

  • Closed date

    2015-01-21

  • Last modified date

    2015-01-21

  • 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 BASE MULTIP

  • Fixed component ID

    5724H7241

Applicable component levels

  • R750 PSY

       UP

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5"}]

Document Information

Modified date:
25 September 2021