PM73636: BLOCK OFFLOAD OF NOT IN SUBQUERIES

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Correct offload of NOT IN subqueries and specific removal of
    redundant predicates for offload .
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of DB2 10 for z/OS who             *
    *                 are also using IBM DB2 Analytics             *
    *                 Accelerator                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: This APAR contains the following fixes  *
    *                      for DB2 IDAA support:                   *
    *                      (1) Correct a problem where a query was *
    *                      allowed to offload for a NOT IN         *
    *                      subquery.                               *
    *                                                              *
    *                      (2) Add a new QUERY_ACCEL_OPTIONS       *
    *                      value of 99. The new option, 99,        *
    *                      is for serviceability only and you      *
    *                      should not use it except when advised   *
    *                      to do so by IBM service.                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    (1) Before this APAR, we allowed offload for a NOT IN subquery
    in certain scenarios. This could
    cause incorrect output for an offloaded query. The offload can
    occur when one or more NOT IN subqueries is under an OR
    predicate. For example the following SQL would be offloaded:
    
    SELECT C1
    FROM T1
    WHERE T1.C2> 0
    OR T1.C3 NOT IN
       (SELECT C3
        FROM T2
        WHERE T2.C1>0);
    
    (2) Add a new value of 99 for subsystem parameter
    QUERY_ACCEL_OPTIONS.  The new option, 99, is for serviceability
    only and you should not use it except when advised to do so by
    IBM service.
    

Problem conclusion

  • (1) Code is fixed to properly block offload of a NOT IN subquery
    
    (2) The new option of 99 is added to QUERY_ACCEL_OPTIONS.
    The value 99 is for serviceability only and you should
    not use it except when advised to do so by IBM service.
    
    Additional Search Keywords:
    IDAAV2R1/K SQLNOTIN SQLINCORR SQLINCORROUT INCORROUT
    DB2INCORR/K IDAAV3R1/K
    

Temporary fix

  • *********
    * HIPER *
    *********
    

Comments

APAR Information

  • APAR number

    PM73636

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-25

  • Closed date

    2013-01-04

  • Last modified date

    2013-02-04

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

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

    UK90809

Modules/Macros

  •    DSNDQWPZ DSNDSPRM DSNWZIFA DSNXONZC DSNXONZO
    DSNXOW1  DSN6SPRM
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UK90809

       UP13/01/24 P F301

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.



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

DB2 for z/OS

Software version:

A10

Reference #:

PM73636

Modified date:

2013-02-04

Translate my page

Machine Translation

Content navigation