IBM Support

PH33411: DB2 ADMIN TOOL - COMPARE DOING A DROP/CREATE OF INDEX INSTEAD OF ALTER INDEX FOR ADD COLUMN.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Db2 Admin Tool/ Object compare
    
    Adding new column to existing primary key of a table is
    dropping/recreating the index instead of alter index add column.
     This is a destructive change when it isn't required. The tool
    should do an alter where it can versus going for drop/recreate.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Object Comparison Tool for      *
    *                 z/OS who compare indexes to add a column to  *
    *                 the index                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: When a compare results in a new column  *
    *                      being added, compare performs a DROP    *
    *                      and CREATE of the index instead of the  *
    *                      preferred ALTER INDEX ADD COLUMN.       *
    ****************************************************************
    When a compare results in adding a column to an index on the
    target, Compare takes the approach of dropping and creating the
    index. This approach is more disruptive, as Db2 supports
    ALTER INDEX ADD COLUMN. The better approach is to generate an
    ALTER INDEX instead of the current behavior where the index is
    dropped and created.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH33411

  • 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

    2021-01-15

  • Closed date

    2021-05-13

  • Last modified date

    2021-06-02

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

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

    UI75385

Modules/Macros

  • ADB2CME
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI75385

       UP21/06/02 P F105

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.

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

Document Information

Modified date:
03 June 2021