IBM Support

IT47110: PROVIDE OPTION FOR CONTROLLING PRECISION OF DECIMAL VALUES WHEN SET USING MBELEMENT.SETVALUE()

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When setting a decimal value using MbElement.setValue() either
    directly or indirectly via a map the decimal value is passed to
    the native code which creates the message tree by calling
    toString() on the Java decimal  value. This means that certain
    elements of precision such as the number of trailing zeroes
    following a decimal point can not be controlled.
    
    This APAR provides the environment variable
    MQSI_JAVA_BIG_DECIMAL_CONVERSION_FORMAT, when set this should
    contain a format pattern as described in https://docs.oracle.co
    m/javase/8/docs/api/java/text/DecimalFormat.htmlwhich will be us
    default toString() method of  the BigDecimal class.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of App Connect Enterprise version 12 or higher using
    the Mapping Node or the Java Compute Node to pass decimal values
    into the message tree.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    When setting a decimal value using MbElement.setValue() either
    directly or indirectly via a map the decimal value is passed to
    the native code which creates the message tree by calling
    toString() on the Java decimal  value. This means that certain
    elements of precision such as the number of trailing zeroes
    following a decimal point can not be controlled.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT47110

  • Reported component name

    APP CONNECT ENT

  • Reported component ID

    5724J0560

  • Reported release

    C00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-10-21

  • Closed date

    2024-10-25

  • Last modified date

    2024-10-25

  • 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

    APP CONNECT ENT

  • Fixed component ID

    5724J0560

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSDR5J","label":"IBM App Connect Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C00","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
25 October 2024