IBM Support

PH34610: DB2 ADMIN TOOL: AN ALTER THAT RESULTS IN A DROP/CREATE OF A TABLE, AND ALSO A DROP COLUMN RESULTS IN MERGE ERRORS

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:  An alter that results in a DROP/CREATE of a
    table, and also a DROP COLUMN results in merge errors
    
    For example.
    
    If a table column is altered from a decimal type to a
    timestamp with the NOT NULL parameter, and also a column is
    dropped, the change is generated with a drop/create table
    followed by the two alter statements.  The drop column fails as
    the column was already removed during the DROP/CREATE and no
    longer exists.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Object Comparison Tool for      *
    *                 z/OS                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION: Analyzing a change that alters a        *
    *                      column's null value or default value    *
    *                      and drops a column might result in      *
    *                      error ADB8028E.                         *
    ****************************************************************
    Utilizing Change Management and ALT to change
    a column's null or default value and drop a column, the
    resulting change might drop and create the table before
    dropping the column.
    
    When analyzing this change the following error may occur:
    
    ADB8028E An attempt was made to drop a column, but that
    column does not exist in the table.
    
    For example.
    
    If a table column is altered from a decimal type to a
    timestamp with the NOT NULL parameter, and also a column is
    dropped, the change is generated with a drop/create table
    followed by the two alter statements. The drop column fails as
    the column was already removed during the DROP/CREATE and no
    longer exists.
    

Problem conclusion

  • The problem has been resolved.
    
    Search keywords: MSGADB8028E
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH34610

  • 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-02-18

  • Closed date

    2021-04-26

  • Last modified date

    2021-05-03

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

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

    UI75092

Modules/Macros

  • ADB2CMT  ADB2CMU
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI75092

       UP21/05/03 P F104

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:
04 May 2021