IBM Support

JR37838: BALANCED OPTIMIZATION GENERATES INCORRECT SQL TO CONVERT STRINGTOTIMESTAMP.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Balanced Optimization -  generates incorrect SQL to convert
    StringToTimestamp
    ("9999-12-31 23:59:59","%yyyy-%mm-%dd %hh:%nn:%ss") for
    Teradata.
    
    Instead it generates:
    
    CAST(CAST('9999-12-31 23:59:59' AS TIMESTAMP(6) FORMAT
    'YYYY-MM-DD hh:
    mm:SS') AS VARCHAR(32)) as Collection_Status_End_Dttm
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    BalOp V8.1 generated incorrect SQL for StringToTimestamp()
    function on Teradata.
    ****************************************************************
    PROBLEM DESCRIPTION:
    BalOp V81 generate incorrect SQL for StringToTimestamp()
    function for Teradata DB. BalOp creates Date format
    ('YYYY%mm%dd') where it should be ('YYYYmmdd').
    ****************************************************************
    RECOMMENDATION:
    Install Rollup Patch 13. It is available as:
         patch_Rollup13_BalOpt_Windows_8100.zip
    ****************************************************************
    

Problem conclusion

  • BalOp V81 is not mapping to the right SQL for
    StringToTimestamp() for Teradata.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR37838

  • Reported component name

    INFO SRVR PLATF

  • Reported component ID

    5724Q3612

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-09-27

  • Closed date

    2010-11-01

  • Last modified date

    2010-11-01

  • 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

    INFO SRVR PLATF

  • Fixed component ID

    5724Q3612

Applicable component levels

  • R801 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSZJPZ","label":"InfoSphere Information Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 October 2021