IBM Support

PI70959: SELECT PRODUCED INCORRECT OUTPUT IF AN INDEX PAGE WAS RELEASED AND RETRAVERSE OCCURRED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Select produced incorrect output if an index page was released
    and retraverse occurred.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 11 for z/OS users doing reverse      *
    *                 index scans on partitioned indexes.          *
    ****************************************************************
    * PROBLEM DESCRIPTION: Incorrout can occur using aggregate     *
    *                      function and group by via index only    *
    *                      access with reverse index scan          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    SQL statement has aggregate function and group by. The table is
    partitioned and DB2 is using index only access path. During the
    retrieval of data via the index only access, incorrect output
    is returned when different index partitions are scanned.
    
    When scanning in the reverse direction within a partitioned
    index and at the same time skipping non-distinct values, valid
    index keys could be missed when a previous index partition is
    accessed.
    
    Additional Keywords:
    DB2INCORR/K INCORROUT SQLINCORR SQLINCORROUT SQLGROUPBY
    

Problem conclusion

  • Code within DB2 has been modified to correctly begin scanning
    within the previous partition for qualifying keys, when
    index key skipping is active and reverse index scan is used.
    

Temporary fix

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

Comments

APAR Information

  • APAR number

    PI70959

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-19

  • Closed date

    2016-11-09

  • Last modified date

    2016-12-01

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

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

    UI42427

Modules/Macros

  • DSNKFPRV
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RB10 PSY UI42427

       UP16/11/24 P F611 Ž

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:
01 December 2016