IBM Support

PI51143: BIND WITH EXPLAIN(YES) DOESN'T SET PLAN_TABLE.HINT_USED COLUMN EVEN WHEN OPTHINT IS SUCCESSFULLY APPLIED.

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • BIND with OPTHINT get SQLCODE +394 which indicates OPTHINT is
    successfully applied, but the HINT_USED column of the BIND
    EXPLAIN output is blank.
    

Local fix

  • No
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 10 for z/OS and DB2 11 for z/OS      *
    *                 users who use the OPTHINT bind option with   *
    *                 IBM DB2 Analytics Accelerator may be         *
    *                 affected.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: DB2 with IBM DB2 Analytics Accelerator  *
    *                      enabled may not set HINT_USED to the    *
    *                      optimization hint name for the plan or  *
    *                      package that was bound with the         *
    *                      OPTHINT option specified in             *
    *                      BIND statement. The output for          *
    *                      HINT_USED column in the EXPLAIN         *
    *                      table PLAN_TABLE may show blank         *
    *                      instead of the optimization             *
    *                      hint name that has been used.           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    DB2 with IBM DB2 Analytics Accelerator enabled may not set
    HINT_USED to the optimization hint name for the plan or
    package that was bound with the OPTHINT option specified in
    BIND statement. The output for the HINT_USED column in the
    EXPLAIN table PLAN_TABLE may show blank instead of the
    optimization hint name that has been used.
    
    Additional keywords:
    SQLEXPLAIN OPTHINTS IDAAV4R1/K IDAAV5R1/K
    

Problem conclusion

  • DB2 has been updated to resolve the problem described above.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI51143

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-10-23

  • Closed date

    2016-06-16

  • Last modified date

    2016-08-02

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

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

    UI38752 UI38753 018PC4Ÿ 014PC32

Modules/Macros

  •    DSNXOGP
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UI38752

       UP16/07/02 P F607

  • RB10 PSY UI38753

       UP16/07/02 P F607

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.



Document information

More support for: DB2 for z/OS

Software version: A10

Reference #: PI51143

Modified date: 02 August 2016


Translate this page: