IBM Support

PI67923: NO SYSCOLDIST_HIST INFORMATION GATHERED BY RUNSTATS UPDATE NONE HISTORY ALL

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Incorrect or missing distribution statistics collected in
    SYSCOLDIST_HIST catalog table by
    RUNSTATS UPDATE NONE HISTORY ALL.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All DB2 12 for z/OS users of RUNSTATS or inline statistics   *
    * collecting history statistics on partitioned objects with    *
    * UPDATE NONE specified.                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * HISTORY STATISTICS not collected when RUNSTATS UPDATE NONE   *
    * HISTORY ALL was specified.                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply corrective PTF when available                          *
    ****************************************************************
    When the user executed RUNSTATS UPDATE NONE HISTORY ALL on a
    partitioned table space, no cardinalities or frequency
    aggregate statistics were reported in MSGDSNU616I and stored in
    the SYSIBM.SYSCOLDIST_HIST catalog table.
    
    As RUNSTATS UPDATE NONE keywords was specified, no entries were
    stored in SYSIBM.SYSCOLDISTSTATS catalog table
    by the RUNSTATS utility. This resulted in aggregation processing
    failure to rollup the statistics and store the statistics in
    the SYSCOLDIST_HIST catalog table.
    
    For index on expression objects, no cardinality and frequency
    statistics were reported  by DSNU1353I   for  SYSKEYTGTDIST
    catalog table
    when UPDATE NONE HISTORY ALL keywords were specified. This
    resulted in aggregation processing failure to rollup the
    statistics and store the statistics in
    the SYSKEYTGTDIST_HIST catalog table.
    

Problem conclusion

  • The design and code was changed to aggregate the statistics from
    the available in-memory blocks rather than from the
    SYSCOLDISTSTATS catalog table and store the statistics in the
    SYSCOLDIST_HIST catalog table regardless of UPDATE option
    specified.
    
    Code was also changed such that for index on expression objects,
    cardinality and frequency statistics  will be reported  by
    DSNU1353I
    for  SYSKEYTGTDIST catalog table when UPDATE NONE HISTORY ALL
    keywords are specified.     The collected statistics will be
    stored in
    SYSKEYTGTDIST_HIST catalog table.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI67923

  • 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

    2016-08-22

  • Closed date

    2017-01-05

  • Last modified date

    2017-02-01

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

    PI62854

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

    UI43704

Modules/Macros

  • DSNUSAFQ DSNUSACR DSNUSAC1 DSNUSACD DSNUSAFK DSNUSAC2 DSNUSAFV
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RC10 PSY UI43704

       UP17/01/21 P F701

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:
01 February 2017