IBM Support

PM16592: WHEN USING WTX PRIMITIVE, WESB DATA HANDLER REJECTS DECIMAL TYPE WHEN DECIMAL VALUE DOES NOT INCLUDE DECIMAL SEPARATOR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the WTX Primitive, the WESB Data Handler is rejecting
    a decimal type when the decimal value does not include the
    optional decimal separator.
    
    The log warning message indicates that an Integer type is being
    used instead of a Decimal type.
    
    DTXIS0001I: WTX Informational message: TI_NUMBER_INTEGER
    DTXIS0002W: WTX Warning message: Warning: Type rejected:
    <item_name>
    DTXIS0002W: WTX Warning message: The value of type 'class
    java.math.BigInteger' must be of type 'class
    java.math.BigDecimal'
    
    The following TONUMBER() function is being used in a WTX map
    rule to create the output data where the decimal separator is
    optional.
    
    =TONUMBER(input, "{##['.']#}")
    
    The following is an example of the log messages:
    
    [15/06/10 18:10:58:822 CEST] 0000006b WesbExtDataHa 2
    WesbExtDataHandler startElement DTXIS0001I: WTX Informational
    message: ** begin - stack is at 5 : <item_name>
    [15/06/10 18:10:58:822 CEST] 0000006b WesbExtDataHa 3
    WesbExtDataHandler startElement DTXIS0001I: WTX Informational
    message: itemInfo -- typeName: '<item_name>', typePrefix: '',
    typeURI: 'http://<http_address>/wtx', xsdTypeName: '7',
    isAttribute: 'false', isComplex: 'false', dataType: '3',
    xsdDataType: '7'
    [15/06/10 18:10:58:822 CEST] 0000006b WesbExtDataHa 2
    WesbExtDataHandler startElement DTXIS0001I: WTX Informational
    message: type: <item_name>
    [15/06/10 18:10:58:822 CEST] 0000006b WesbExtDataHa 2
    WesbExtDataHandler startElement DTXIS0001I: WTX Informational
    message: ** end
    [15/06/10 18:10:58:822 CEST] 0000006b WesbExtDataHa 2
    WesbExtDataHandler docCharacters DTXIS0001I: WTX Informational
    message: ** begin
    [15/06/10 18:10:58:822 CEST] 0000006b WesbExtDataHa 2
    WesbExtDataHandler docCharacters DTXIS0001I: WTX Informational
    message: CodePage: 12
    [15/06/10 18:10:58:822 CEST] 0000006b WesbExtDataHa 2
    WesbExtDataHandler docCharacters DTXIS0001I: WTX Informational
    message: full item name: <item_name>
    [15/06/10 18:10:58:822 CEST] 0000006b WesbExtDataHa 2
    WesbExtDataHandler docCharacters DTXIS0001I: WTX Informational
    message: data: 99
    [15/06/10 18:10:58:822 CEST] 0000006b WesbExtDataHa 2
    WesbExtDataHandler putItemToDataObject DTXIS0001I: WTX
    Informational message: real item name: <item_name>
    [15/06/10 18:10:58:822 CEST] 0000006b WesbExtDataHa 2
    WesbExtDataHandler putItemToDataObject DTXIS0001I: WTX
    Informational message: TI_NUMBER_INTEGER -- data: 99
    [15/06/10 18:10:58:822 CEST] 0000006b WesbExtDataHa 1
    WesbExtDataHandler docCharacters DTXIS0002W: WTX Warning
    message: Warning: Type rejected: <item_name>
    [15/06/10 18:10:58:822 CEST] 0000006b WesbExtDataHa 2
    WesbExtDataHandler docCharacters DTXIS0002W: WTX Warning
    message: The value of type 'class java.math.BigInteger' must be
    of type 'class java.math.BigDecimal'
    [15/06/10 18:10:58:822 CEST] 0000006b WesbExtDataHa 2
    WesbExtDataHandler docCharacters DTXIS0001I: WTX Informational
    message: ** end
    

Local fix

  • WTXCQ - WTX00034690
    EJ / EJ
    Circumvention: None
    

Problem summary

  • Users Affected:
    Websphere Transformation Extender WESB Mediation Primitive users
    
    Problem Description:
    Decimal schema types coming from WTX core will be represented as
    TI_NUMBER_INTEGER if the value doesn't have a decimal point,
    however if the value does have a decimal point, it will be
    represented as TI_NUMBER_DECIMAL
    
    Platforms Affected:
    All
    

Problem conclusion

  • Will now use the TI_XDS_decimal datatype for decimals which then
    get mapped to java BigDecimal for WESB regardless of whether the
    value of the decimal has a decimal point or not.
    
    Delivered in:
    8.3.0.3
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM16592

  • Reported component name

    WTX FOR INT SER

  • Reported component ID

    5724M4010

  • Reported release

    830

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2010-06-16

  • Closed date

    2010-06-25

  • Last modified date

    2010-07-01

  • 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

    WTX FOR INT SER

  • Fixed component ID

    5724M4010

Applicable component levels

  • R830 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCKRDT","label":"WTX for Integration Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.3","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 July 2010