IC88658: QUERY CONTAINING "NOT IN" PREDICATE WITH A PARAMETER MARKER MIGHT CAUSE DB2 TO ABEND

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 satisfied.
    1. The query contains one or more NOT IN predicates.
    2. The join column of the NOT IN predicate also has another
    equality predicate with either a parameter marker or a literal.
    3. In case of join with literal, statement concentrator must
    also be switched ON.
    
    Such a query results in FODC and following error in db2diag.log:
    FUNCTION: DB2 UDB, relation data serv, sqlrr_dump_ffdc,
    probe:550
    RETCODE : ZRC=0x87120007=-2028863481=SQLR_SEVERE_PGM_ERROR
              "Severe programming error"
              DIA8516C A severe internal processing error has
    occurred.
    
    The trap file produced will have the below stack:
    sqlnr_NotExists2OJ_cond_detail
    sqlnr_NotExists2OJ_action
    sqlnr_seq
    sqlnr_rcc
    sqlnr_startqtb_action
    sqlnr_seq
    

Local fix

  • db2set DB2_ANTIJOIN=NO -im
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All platforms                                                *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 10.1 Fix Pack 3                       *
    ****************************************************************
    

Problem conclusion

  • The problem is first fixed in DB2 version 10.1 Fix Pack 3
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC88658

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-28

  • Closed date

    2013-10-23

  • Last modified date

    2013-10-23

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

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RA10 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

10.1

Reference #:

IC88658

Modified date:

2013-10-23

Translate my page

Machine Translation

Content navigation