IBM Support

PI96768: INCORRECT FILTER FACTOR FOR CURRENT DATE OR CURRENT TIMESTAMP SPECIAL REGISTERS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An incorrect filter factor can be produced for a predicate
    containing a CURRENT DATE/CURRENT TIMESTAMP special
    register and the query contains host variables and/or
    parameter markers.
    
    Additional symptoms and keywords:
    SQLPERFORMANCE SQLDATE SQLTIMESTAMP
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Db2 12 for z/OS users who experience                     *
    * an inefficient access path as a result of                    *
    * an incorrect filter factor being calculated                  *
    * for an EQUAL, RANGE or BETWEEN                               *
    * predicate containing CURRENT DATE, CURRENT                   *
    * TIMESTAMP.                                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * An inefficient access path can result                        *
    * from an incorrect filter factor being                        *
    * calculated for an EQUAL, RANGE, or                           *
    * BETWEEN predicate containing CURRENT                         *
    * DATE or CURRENT TIMESTAMP.                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply corrective PTF when available                          *
    ****************************************************************
    The incorrect filter factor is produced by an invalid value
    returned internally when the calculation is done for the
    CURRENT DATA or CURRENT TIMESTAMP special registers.  Db2 will
    now avoid using the incorrect values for the calculation.
    
    Additonal keywords:
    SQLACCESSPATH FILTERFACTOR SQLSPECIALREG
    

Problem conclusion

  • The described problem is fixed by correcting the bad
    filterfactor on such predicates.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI96768

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-04-17

  • Closed date

    2018-05-29

  • Last modified date

    2018-07-02

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

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

    UI56157

Modules/Macros

  • DSNXODFE DSNXODFB DSNXODFR DSNXORSP
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RC10 PSY UI56157

       UP18/06/13 P F806

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":"12.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":"12.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 July 2018