IBM Support

LI75741: INSTANCE MAY ABEND COMPILING A QUERY CONTAINING OVER CLAUSE USED WITH A SCALAR FUNCTION THAT HAS CONSTANT ARGUMENTS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Compilation of a query may abend the instance if following
    conditions are satisifed:
    - A scalar function is used in the query
    - The OVER clause is specified with the scalar function
    - All arguments to the scalar function are constant literals
    
    Note that specification of the OVER clause with scalar functions
    is not allowed (SQLCODE SQL0109N, SQLSTATE 42601).
    

Local fix

  • Don't use scalar functions with the OVER clause.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.5 Fix Pack 7 or later.              *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version 9.5 Fix Pack 7.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI75741

  • Reported component name

    DB2 UDE ESE LIN

  • Reported component ID

    5765F4104

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-09-21

  • Closed date

    2010-11-15

  • Last modified date

    2010-11-15

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

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

    IC71528 IC71529

Fix information

  • Fixed component name

    DB2 UDE ESE LIN

  • Fixed component ID

    5765F4104

Applicable component levels

  • R950 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 November 2010