IBM Support

JR33917: BIGINT DATATYPE IS TREATED AS INTEGER DATATYPE WHEN ARITHMETIC OPERATION IS PERFORMED FOR VALUES ABOVE INTEGER LIMIT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • PROBLEM DESCRIPTION:
    BIGINT datatypes are interpreted as INTEGERs while performing
    arithmetic operations. When values used for BIGINT cross the
    upper limit of INTEGER, they are automatically converted into
    negative number.
    
    
    eg. when the value goes above 2,147,483,647, which is the
    maximum INTEGER value, it is parsed as a negative number -
    2,147,483,648
    
    Problem conclusion
    BIGINT is handled as a string by setting a environment
    variable.
    

Local fix

  • Change Datatype to Double.
    

Problem summary

  • BIGINT DATATYPE IS TREATED AS INTEGER DATATYPE WHEN ARITHMETIC
    OPERATION IS PERFORMED FOR VALUES ABOVE INTEGER LIMIT
    
    BIGINT datatypes are interpreted as INTEGERs that have reached a
    limit are converted to negative numbers when incremented above a
    certain value.
    eg. when the value goes above 2,147,483,647, which is the
    maximum INTEGER value, it is parsed as a negative number -
    2,147,483,648
    

Problem conclusion

  • By setting the env variable BIGINT_IS_STRING to TRUE we can
    store any Interger value bigger than 2^31 - 1 also.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR33917

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-08-06

  • Closed date

    2012-08-21

  • Last modified date

    2012-08-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

    WIS DATASTAGE

  • Fixed component ID

    5724Q36DS

Applicable component levels

  • R801 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"IBM InfoSphere DataStage"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
21 August 2012