IBM Support

PI51748: SQLCODE -904 ON OFFLOADED QUERY WITH BAD DATE EXTERNAL REPRESENTATION ERROR MESSAGE

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • An offloaded query to accelerator got SQLCODE -904 with Netezza
    error messageBad date external representation
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of DB2 10 and DB2 11 for z/OS who  *
    *                 use query acceleration.                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: An SQLCODE -904 occurs for a query that *
    *                      is accelerated, references a view, and  *
    *                      the view contains a date, time or       *
    *                      timestamp constant.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An SQLCODE -904 occurs for a query that is accelerated,
    references a view, and the view contains a date, time or
    timestamp constant. For example:
    
    CREATE VIEW TESTDATEV AS
    SELECT * FROM TESTDATE WHERE C15DATE > DATE'0001-01-01';
    
    A query that references TESTDATEV for acceleration will return
    SQLCODE -904.
    
    Keywords:
    IDAAV4R1/K IDAAV5R1/K SQLCODE904 SQLVIEW
    

Problem conclusion

  • DB2 code is fixed so that the date, time and timestamp constant
    in the view is processed properly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI51748

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-11-02

  • Closed date

    2015-11-20

  • Last modified date

    2016-01-04

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

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

    UI33172 UI33173

Modules/Macros

  •    DSNXONZC
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UI33172

       UP15/12/05 P F512

  • RB10 PSY UI33173

       UP15/12/05 P F512

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.



Document information

More support for: DB2 for z/OS

Software version: B10

Reference #: PI51748

Modified date: 04 January 2016


Translate this page: