IC87845: DB2 may abend on a left outer join when the right table is UNION ALL view

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • DB2 may abend when running or compiling a SQL statement contains
    
    a left outer join and the right table of the outer join is a
    UNION ALL view.
    
    Additional conditions are the left table is a table with a
    unique index (or a primary key)
    and the join predicate is on on the unique column of the left
    table.
    
    The call stack in the db2diag.log when this problem occurs may
    look like:
    
    sqlnq_oprhxpparent::op
    sqlnr_addids
    sqlnr_joinppd_magic_detail
    sqlnr_joinppd_action
    sqlnr_comp
    sqlnr_seq
    sqlnr_rcc
    sqlnr_magic_detail_action
    sqlnr_comp
    sqlnr_seq
    sqlnr_rcc
    sqlnr_endqtb_action
    sqlnr_comp
    sqlnr_start_action
    sqlnn_cmpl
    sqlra_compile_var
    sqlra_find_var
    sqlra_get_var
    sqlricall
    sqlriSectInvoke
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 10.1.0.2.                             *
    ****************************************************************
    

Problem conclusion

  • Upgrade to DB2 version 10.1.0.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC87845

  • 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-04

  • Closed date

    2013-01-07

  • Last modified date

    2013-01-07

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

    IC82961

  • 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

  • RA10 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

10.1

Reference #:

IC87845

Modified date:

2013-01-07

Translate my page

Machine Translation

Content navigation