IBM Support

PH63145: NEW FUNCTION SUPPORT FOR MODIFY STATISTICS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • New Function MODIFY STATISTICS PARTITION LEVEL support
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All Db2 13 for z/OS users of the MODIFY      *
    *                 STATISTICS utility                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: The MODIFY STATISTICS utility is        *
    *                      enhanced to support partition level     *
    *                      processing in Db2 V13R1M500 by          *
    *                      specifying a new PART keyword or by     *
    *                      specifying a LIST with the LISTDEF      *
    *                      PARTLEVEL option.                       *
    *                                                              *
    ****************************************************************
    The MODIFY STATISTICS utility deletes unwanted history
    statistics from the corresponding catalog tables for an
    entire table space, index space, or index.  For
    partitioned objects, it does not allow the deletion of
    history records at the partition level.
    
    Prior to this APAR or if function level is at FL100, when
    PART n keyword is specified along with MODIFY STATISTICS,
    the following message with RC8 will be issued in the job
    statement:
    DSNU049I - INVALID OPERAND 'PART' FOR KEYWORD 'STATISTICS'
    Similarly, if PARTLEVEL keyword is specified along with MODIFY
    STATISTICS LIST, the following message with RC8 is issued:
    DSNU1003I - INVALID LIST FOR MODIFY STATISTICS UTILITY
    
    MODIFY STATISTICS is enhanced in Db2 13 FL500 to support
    partition level processing for partitioned objects.
    
    ADDITIONAL KEYWORDS:
    MSGDSNU524I
    

Problem conclusion

Temporary fix

Comments

  • MODIFY STATISTICS is enhanced in Db2 13 FL500 to support
    a new PART keyword on the utility statement, and the
    utility is also enhanced to support a LIST with LISTDEF
    PARTLEVEL option specified.
    
    When MODIFY STATISTICS is executed with the PART keyword
    or with LISTDEF with the PARTLEVEL option, the utility
    will delete all the partition level statistics for the
    specified partition(s). It will not delete the history
    statistics for partitions that were not specified. The
    history statistics at the aggregate level, will not be
    deleted.
    
    When MODIFY STATISTICS PART is executed on non-partitioned
    objects, or specified with a partition number that is
    out of range, message DSNU524I will be issued with RC8.
    The utility will not delete any rows in the catalog table.
    
    This APAR will make the following external changes.
    MODIFY STATISTICS utility syntax diagram change:
    
    >--MODIFY-STATISTICS---------------------------------------->
    
    .--LIST-listdef-name-------------------------------=-------.>
    |                                                          |
    |-TABLESPACE.-------------.-table space name-.------------.|
    |           'database-name'                  'PART-integer'|
    |                                                          |
    |-INDEXSPACE.---------------.index-space-name.------------.|
    |           '-database-name-'                'PART-integer'|
    |                                                          |
    '-INDEX-.------------.-index-name------.--------------.----'
            '-creator-id-'                 '-PART-integer-'
    
    PART integer
          Identifies a single partition for which records are to
          be deleted.
    
    integer
        The number of the partition.
        For a partitioned table space, index space or index
        specify the physical partition number. It must be in
        the range from 1 to the number of partitions that are
        defined for the table space, index space or index.
        The maximum is 4096.
    

APAR Information

  • APAR number

    PH63145

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    D10

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function / Xsystem

  • Submitted date

    2024-09-06

  • Closed date

    2024-11-01

  • Last modified date

    2024-12-03

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

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

    UI98945

Modules/Macros

  • DSNUGDDH DSNUGPPE DSNUGPRT DSNUGUCA DSNUGULM DSNUMSTA
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RD10 PSY UI98945

       UP24/11/12 P F411  

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":"BU048","label":"IBM Software"},"Product":{"code":"SSEPEK","label":"DB2 for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
03 December 2024