IBM Support

PI37537: RUNSTATS ON A PARTITIONED TABLE WITH SOME INDEXES WITH KEY DEFINED RANDOM GOT ABEND RC00E40213

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 got the abend rc00e40213 in DSNUTILA.DSNUSUCD +5FD4
    when running RUNSTATS on a partitioned table with some
    indexes with the key columns defined as RANDOM
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 10 for z/OS and DB2 11 for z/OS      *
    *                 users of RUNSTATS on indexes.                *
    ****************************************************************
    * PROBLEM DESCRIPTION: 1.RUNSTATS TABLESPACE with INDEX option *
    *                      run on an index containing RANDOM order *
    *                      key columns:                            *
    *                                                              *
    *                      1. abended with ABEND04E RC00C9004F and *
    *                      RC00E40213 at DSNUSUCD OFFSET5FD4.      *
    *                                                              *
    *                      2. generated encoded COLVALUE values in *
    *                      SYSIBM.SYSCOLDISTSTATS and SYSCOLDIST.  *
    ****************************************************************
    * RECOMMENDATION: Apply corrective PTF when available.         *
    ****************************************************************
    A RUNSTATS TABLESPACE with INDEX option run on a partitioned
    table space with an index contained key columns defined as
    RANDOM order:
    
    1. abended with ABEND04E RC00C9004F and RC00E40213 at DSNUSUCD
    x'5FD4'.
    
    2. generated encoded COLVALUE values into SYSIBM.SYSCOLDISTSTATS
    and SYSIBM.SYSCOLDIST catalog tables.
    
    These problems occurred because the key column values were not
    unrandomized when collecting the frequency statistics and caused
    incorrect frequency records inserted to SYSIBM.SYSCOLDISTSTATS
    and SYSIBM.SYSCOLDIST.
    The same problem can happen for RUNSTATS INDEX.
    

Problem conclusion

  • RUNSTATS code has been modified to unrandomize the key values of
    the RANDOM order index columns.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI37537

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-22

  • Closed date

    2015-07-01

  • Last modified date

    2015-08-03

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

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

    UI29060 UI29061

Modules/Macros

  • DSNUSIDX
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UI29060

       UP15/07/21 P F507

  • RB10 PSY UI29061

       UP15/07/21 P F507

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

Document Information

Modified date:
03 August 2015