IBM Support

PH58606: DROP OF MQT TABLE SPACE VIA OBJECT COMPARE GENERATING UNNECESSARY DROP TABL

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using Object Compare with drop table space in compare file doing
    compare catalog - DDL works fine for regular table space/table
    but is generating unnecessary "DROP TABLE" when the table space
    contains a  Materialized Query Table (MQT).  This leads to
    sqlcode -204,since the MQT table is implicitly dropped by
    dropping its tablespace.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    ****************************************************************
    * PROBLEM DESCRIPTION: When dropping the table space for a     *
    *                      materialized query table (MQT), Db2     *
    *                      Object Comparison Tool generates a      *
    *                      DROP TABLE statement for the MQT after  *
    *                      the table space has already been        *
    *                      dropped.                                *
    ****************************************************************
    When a user uses Object Comparison Tool to drop a table space
    that contains an MQT, the tool generates a DROP TABLE statement
    on the MQT as well. This action results in SQLCODE -204, because
    the MQT has already been dropped implicitly.
    
    Search keywords: SQLCODE204N
    

Problem conclusion

  • The problem has been addressed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH58606

  • 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

    2023-12-06

  • Closed date

    2024-03-25

  • Last modified date

    2024-04-01

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

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

    UI96224 UI96225

Modules/Macros

  • ADB2CMP
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI96224

       UP24/04/01 P F403

  • RD10 PSY UI96225

       UP24/04/01 P F403

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:
04 April 2024