A fix is available
APAR status
Closed as program error.
Error description
Decimal number column [i.e. defined as (20,7)] of value = 0 is formatted on output of "XML" Stage in exponential notation : i.e. : 0E-7 instead of expected : 00000000000.0000000 Other values are correctly formatted. This issue related with how's Java code convert the BigDecimal type to String. In our current XML pack, we use BigDecimal.toString() to convert the BigDecimal to String, this method returns scientific notation if an exponent is needed. The other method BigDecimal.toPlainString() returns a string without an exponent field.
Local fix
N/A
Problem summary
Description: When input column type is decimal and output column type is string related, XML pack converts decimal to string in scientific notation if an exponent is needed. For example, decimal 00000000000.0000000 will be convert to 0E-7.
Problem conclusion
Solution: Set environment XMLSTAGE_DECIMALTOPLAINSTRING=1, then XML pack will convert decimal to plain string. For example, decimal 00000000000.0000000 will be converted to 0.0000000.
Temporary fix
Comments
APAR Information
APAR number
JR52590
Reported component name
WIS DATASTAGE
Reported component ID
5724Q36DS
Reported release
912
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-02-17
Closed date
2015-03-30
Last modified date
2015-03-30
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
WIS DATASTAGE
Fixed component ID
5724Q36DS
Applicable component levels
R912 PSY
UP
RB30 PSY
UP
RB31 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"InfoSphere DataStage"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"912","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
14 October 2021