IBM Support

PH63017: COMPARE FAILS TO DROP AND RECREATE VIEW WHEN PROCESSING ALTER TABLE RENAME COLUMN

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Compare fails to drop and recreate a view that is not present on
    the source when processing a ALTER TABLE RENAME COLUMN
    statement. This leads to SQLCODE = -750 as the view is still
    present. Compare should properly drop and recreate the view to
    allow for the alter to complete successfully.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 and Db2 Object Comparison Tool for z/OS      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Object Compare fails to recreate views  *
    *                      when analyzing ALTER TABLE RENAME       *
    *                      COLUMN statements in change management. *
    ****************************************************************
    When importing ALTER TABLE RENAME COLUMN statements, Object
    Compare fails to drop and recreate the views when analyzing
    the statements. This behavior can result in an SQLCODE -750.
    

Problem conclusion

  • The problem has been resolved. When analyzing, Compare will
    recreate the views if any columns of its referenced tables
    are renamed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH63017

  • 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

    2024-08-29

  • Closed date

    2025-05-09

  • Last modified date

    2025-05-14

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

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

    UO03145

Modules/Macros

  • ADB2CM3  ADB2CME  ADB2CMF  ADB2CMO  ADB2CMP  ADB2CMR  ADB2CMS
    ADB2CMT  ADB2CMU  ADBCCMM
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RD10 PSY UO03145

       UP25/05/14 I 1000

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