IBM Support

PI52831: COGNOS DATE FUNCTIONS NOT WORKING WITH NETEZZA DATA SOURCE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Using these date filters in Report Studio 10.2.2 GA on a Netezza
    data source 7.2.0.5-P2, on the operating system Red Hat Linux
    6.7 64-bit, we get the following errors:
    
    1) [Date] >= _make_timestamp(extract(year, current_date), 07,
    01)
    
    Data source adapter error: org.netezza.error.NzSQLException:
    ERROR:Invalid Date.
    DV_Application"."APPLC_DTE" >= TO_TIMESTAMP('EXTRACT(YEAR
    FROM_CURRENT_DATE)-7-1', 'YYYY-MM-DD')
    
    2) [Date] >= _make_timestamp(?Enter_Year?, 07, 01)
    
    Data source adapter error: org.netezza.error.NzSQLException:
    ERROR:Invalid Date.
    "DV_Application"."APPLC_DTE" >= TO_TIMESTAMP(':Enter_Year:-7-1',
    'YYYY-MM-DD')
    
    3) [Date] >= _make_timestamp(extract(year, current_timestamp)  ,
    07, 01)
    
    No error but takes a very long time to process.
    

Local fix

  • Use the following filter instead:
    [Date]>=to_timestamp(extract(year from
    now())||'-07-01','YYYY-MM-DD')
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM Cognos Analytic 11.0.1.0                      *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

  • A fix for this APAR is targeted for the next release of IBM
    Cognos Analytics.
    

APAR Information

  • APAR number

    PI52831

  • Reported component name

    COG ADMINISTRAT

  • Reported component ID

    5724W12AD

  • Reported release

    A22

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-11-19

  • Closed date

    2016-03-08

  • Last modified date

    2016-03-08

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

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

    PI71513

Fix information

Applicable component levels

  • RA22 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.2.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
06 March 2023