IBM Support

PI75212: DURING AUTOBIND USING QUERYACCELERATION (ENABLE) BIND OPTION, STATIC QUERY IS BOUND FOR ACCELERATION UNEXPECTEDLY

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • During AUTOBIND for a package bound QUERYACCELERATION(ENABLE),
    DB2 unexpectedly selects an IDAA access path and binds the query
    for acceleration. Whereas for an explicit BIND or REBIND of
    that package with QUERYACCELERATION (ENABLE), DB2 correctly
    selects non-IDAA access path and binds the query to
    run only in DB2z.
    
    
    
    Additional Keywords:
    SQLACCESSPATH
    

Local fix

  • Issue REBIND PACKAGE to restore the non-IDAA access path for
    the static query.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 11 for z/OS users of the             *
    *                 IBM DB2 Analytics Accelerator and            *
    *                 static queries that reference                *
    *                 accelerated tables in packages bound         *
    *                 with QUERYACCELERATION(ENABLE) or            *
    *                 QUERYACCELERATION(ENABLEWITHFAILBACK).       *
    ****************************************************************
    * PROBLEM DESCRIPTION: During automatic rebind                 *
    *                      (or Autobind) for package               *
    *                      bound with QUERYACCELERATION            *
    *                      (ENABLE), DB2 unexpectedly              *
    *                      selects an IDAA access path             *
    *                      and binds the query for                 *
    *                      acceleration. However, for an           *
    *                      explicit Bind or Rebind of              *
    *                      that package with                       *
    *                      QUERYACCELERATION(ENABLE),              *
    *                      DB2 correctly selects                   *
    *                      non-acceleration access path            *
    *                      and binds the query to only             *
    *                      run in DB2.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    DB2 did not make the correct evaluation during Autobind
    of queries in package bound with QUERYACCELERATION
    (ENABLE) causing the statements to be unexpectedly
    bound to execute in accelerator.
    

Problem conclusion

  • DB2 code is modified so that during Autobind, queries in
    package bound with QUERYACCELERATION(ENABLE) and
    QUERYACCELERATION(ENABLEWITHFAILBACK) are evaluated
    correctly.
    additional keywords: IDAAV4R1/K IDAAV5R1/K
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI75212

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-01-23

  • Closed date

    2017-05-03

  • Last modified date

    2017-06-02

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

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

    UI46911

Modules/Macros

  • DSNXEBPG DSNXEPP  DSNXODML
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RB10 PSY UI46911

       UP17/05/18 P F705

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.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 June 2017