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
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.com/javase/8/docs/api/java/text/DecimalForma t.html which will be used instead of the default toString() method of the BigDecimal class. --------------------------------------------------------------- The fix is targeted for delivery in the following PTFs: Version Maintenance Level v12.0 12.0.12.8 v13.0 13.0.2.0 The latest available maintenance can be obtained from: http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041 If the maintenance level is not yet available,information on its planned availability can be found on: http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308 ---------------------------------------------------------------
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