IBM Support

PH47699: MISSING REBUILD CAUSING ERROR ON CHECK DATA STATEMENT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Due to a missing REBUILD statement, the run of the WSL fails on
    the CHECK DATA statement. There needs to be an inline REBUILD
    before the CHECK DATA statement is processed.
    

Local fix

  • BYPASS/CIRCUMVENTION:
    NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 who alter columns with the SET DATA TYPE     *
    *                 clause                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: After Object Compare alters the data    *
    *                      type of a column, the CHECK DATA        *
    *                      utility fails, because indexes are in   *
    *                      REBUILD-pending status.                 *
    *                                                              *
    ****************************************************************
    When a comparison leaves indexes in REBUILD-pending status due
    to altering the data type of a column
    (the SET DATA TYPE clause), those indexes need to be rebuilt
    before any subsequent CHECK DATA operation. Currently, CHECK
    DATA fails due to missing REBUILD operations. Object Compare
    needs to generate REBUILD INDEX utility statements for any
    indexes in REBUILD-pending status due to ALTER TABLE SET DATA
    TYPE statements, so that CHECK DATA can then run successfully.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH47699

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-07-04

  • Closed date

    2022-11-16

  • Last modified date

    2022-12-01

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

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

    UI83321 UI83322

Modules/Macros

  • ADB2CMT  ADBTEP2
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI83322

       UP22/11/18 P F211

  • RD10 PSY UI83321

       UP22/11/18 P F211

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":"12.1.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
01 December 2022