IBM Support

JR32707: TIMET_FROM_TIMESTAMP RETURNS INVALID RESULTS FOR DATES < EPOCH.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Per Jerry Callen:
    
    orchestrate/timestamp/timestamp.C needs several changes:
    
    - factor d1970 constant from the two places it's used and make
    it a static function that initializes the value on first use.
    - the code in asTimeT64 has to cast the result of the julian()
    function to be signed, like this:
    
      APT_Int64 daysSince1970 =
        ((APT_Int64) stampRepPtr->date_.julian()) - ((APT_Int64)
    d1970().julian());
    

Local fix

  • This fix is included in 8.0.1 fixpack 3
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Information Server 8.1 and all previous versions
    ****************************************************************
    PROBLEM DESCRIPTION:
    Incorrect large values are returned for timestamp values
    converted to time_t using timetFromTimestamp in transformer or
    modify for timestamps before the epoch date of 01/01/1970.
    ****************************************************************
    RECOMMENDATION:
    Install JR32707
    This change is included in 8.1 Fix Pack 1.
    ****************************************************************
    

Problem conclusion

  • Fixed an issue with negative timestamp calculations allowing
    correct negative values to be returned for timestamps before
    theepoch.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR32707

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-04-15

  • Closed date

    2009-05-11

  • Last modified date

    2010-12-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • SERVER
    

Fix information

  • Fixed component name

    WIS DATASTAGE

  • Fixed component ID

    5724Q36DS

Applicable component levels

  • R810 PSN

       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":"8.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
09 December 2010