IBM Support

IT04161: DB2 MIGHT ABEND WHEN EXECUTING QUERY CONTAINING A SUBSELECT WITH REDUNDANT PREDICATES

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Under rare scenarios, DB2 might abend if the following
    conditions are true:
    
    1) The query contains one or more subqueries. The subquery can
    be of the form EXISTS, NOT EXISTS, etc.
    2) The subquery contains one or more correlated predicates
    3) Atleast one of the correlated predicate in the subquery can
    be proven to be redundant due to a check constraint, tautology
    predicates, etc.
    4) The subquery and the correlated column reference the same
    view or common table expression.
    

Local fix

  • Remove the redundant predicate
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 970 fixpack 10                        *
    ****************************************************************
    

Problem conclusion

  • Problem is fixed in DB2 version 970 fixpack 10
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT04161

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-09-03

  • Closed date

    2015-01-29

  • Last modified date

    2015-01-29

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

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

    IT04364

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IT04161

Modified date: 29 January 2015