IBM Support

PH64008: OBJECT COMPARE FAILS TO KEEP COMMENT WHEN ALTERING VIEW COLUMNS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When altering the columns of a view, it's possible for Compare
    to delete the comment if the view is dropped and recreated. This
    can lead to a loss of information. Compare should maintain the
    comment on the view if the alters don't remove it.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    ****************************************************************
    * PROBLEM DESCRIPTION: When editing the DDL of a view in the   *
    *                      catalog using the ALT line command,     *
    *                      the resulting change deletes any        *
    *                      comments on the view.                   *
    ****************************************************************
    When issuing an ALT line command on a view in the catalog, Db2
    Admin Tool generates the DDL to edit. This generation omits
    any comments on the view. The resulting DDL changes are then
    passed to Compare. Because Db2 Admin Tool did not generate the
    comment, Compare erroneously assumes the comment has been
    deleted. This assumption causes the comment to be lost when
    the view is recreated.
    

Problem conclusion

  • The problem has been resolved.
    When issuing ALT on a view, Db2 Admin Tool generates any
    comments attached to it so that Compare does not delete comments
    when recreating the view. Any changes to the comment or its
    deletion during the ALT process will be reflected in the
    resulting changes. This fix now makes the behavior consistent
    with labels on a view.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH64008

  • 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

    2024-11-05

  • Closed date

    2025-03-10

  • Last modified date

    2025-04-02

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

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

    UO02397

Modules/Macros

  • ADB2GENX
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RD10 PSY UO02397

       UP25/03/13 P F503

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:
02 April 2025