IBM Support

PH64701: COMPARE FAILS TO DROP HISTORY TABLE WHEN IMPORTING DROP TABLE STATEMENT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a table uses versioning and it's history table is being
    explicitly dropped, Object Compare generates CREATE TABLE
    statements instead of the needed DROP TABLE ones. Object Compare
    should properly process the compare to generate the correct
    statements
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 and Db2 Object Comparison Tool for z/OS      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Change Management does not correctly    *
    *                      process an import of the DROP TABLE or  *
    *                      DROP TABLESPACE statement for a history *
    *                      or archive table.                       *
    *                                                              *
    ****************************************************************
    A history or archive table cannot be dropped without the
    DROP VERSIONING or DISABLE ARCHIVE statement. Change Management
    must detect an invalid DROP statement and issue message
    ADB8070E.
    
    Keywords: HISTORY TABLE, ARCHIVE TABLE, MSGADB8070E
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH64701

  • 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

    2025-01-06

  • Closed date

    2025-04-01

  • Last modified date

    2025-05-02

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

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

    UO02679

Modules/Macros

  • ADB8000  ADBCCMM
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RD10 PSY UO02679

       UP25/04/03 P F504

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:
05 May 2025