IBM Support

PH61841: REBUILD MISSING FOR AN ALTERED INDEX RESULTS IN RUNSTATS UTILITY FAILURE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A PRIMARY KEY has been changed
    
    An INDEX has been ALTERED to add a new column
    
    A new INDEX has been created.
    
    Compare has been executed with:
    Run REORG/REBUILD . . . M (Mandatory, All relevant, None)
    Run RUNSTATS . . . . . B (after: Reload/Alter/Both/Min/None)
    
    Rebuild is missing for an changed index.
    Altering an index to append a new column results in rebuild
    pending state. This causes RUNSTATS utility to generate the
    following warning message:
    
    ADB7954W  DSNT404I SQLCODE = 610, WARNING:  A CREATE/ALTER ON
    OBJECT TS5774.BDGI
    ADB7954W           PLACED OBJECT IN REBUILD PENDING
    
    When the RUNSTATS utility is then run, it fails with the
    following error:
    
    1DSNU000I 136 15:10:49.93 DSNUGUTC - OUTPUT START FOR UTILITY,
    UTILID = PMR48
    DSNU1044I 136 15:10:49.93 DSNUGTIS - PROCESSING SYSIN AS EBCDIC
    0DSNU050I 136 15:10:49.94 DSNUGUTC - RUNSTATS TABLESPACE
    xxxxxxxx.BDGTS011
    INDEX(ALL) SHRLEVEL(CHANGE)
    DSNU204I -DBXA 136 15:10:49.94 DSNUGDTC - PAGESET REBUILD
    PENDING ON INDEX xxxxxxxx.BDGIC011 PROHIBITS PROCESSING
    DSNU012I 136 15:10:49.95 DSNUGBAC - UTILITY EXECUTION
    TERMINATED, HIGHEST RETURN CODE=8
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 and Db2 Object Comparison Tool for z/OS      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Using Object Comparsion Tool to alter   *
    *                      an existing index to add a new column   *
    *                      results in a RUNSTATS utility failure.  *
    ****************************************************************
    A user runs Object Comparsion Tool with the following options:
    Run REORG/REBUILD . . . M
    Run RUNSTATS  . . . . . B
    
    One of the resulting changes from the comparison is to alter an
    existing index to add a new column. However, the REBUILD INDEX
    utility is missing from the generated job. Therefore, the
    altered index remains in REBUILD-pending status, and the
    subsequent RUNSTATS utility fails with the following error:
    
    ADB5184E ADBTEP2 The run is ending due to an error with a
    non-SQL command. Additional messages may have been sent to the
    DD SYSTSPRT
    

Problem conclusion

  • The issue has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH61841

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-06-12

  • Closed date

    2024-09-03

  • Last modified date

    2024-10-03

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

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

    UI98265 UI98266

Modules/Macros

  • ADB2CME
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI98265

       UP24/10/03 P F409

  • RD10 PSY UI98266

       UP24/10/03 P F409

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools 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 October 2024