IBM Support

PH59779: FOREIGN KEY NOT RECREATED AFTER IMPLICIT DROP VIA OBJECT COMPARE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a primary key is dropped and recreated, it implicitly drops
    the foreign key but does not generate a create for the foreign
    key. This is incorrect as the source contains the foreign key
    that is being dropped.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 and Db2 Object Comparison Tool for z/OS.     *
    ****************************************************************
    * PROBLEM DESCRIPTION: When a primary key is recreated, the    *
    *                      related foreign key also needs to be    *
    *                      recreated.                              *
    ****************************************************************
    When a compare results in the primary key being recreated for
    a table, the resulting foreign key is dropped but not recreated.
    Compare must ensure that the affected foreign key is
    recreated if it exists on the source.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH59779

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

  • Closed date

    2024-07-01

  • Last modified date

    2024-08-01

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

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

    UI97550 UI97551

Modules/Macros

  • ADB2CMR  ADB2CMT
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI97550

       UP24/07/04 P F407

  • RD10 PSY UI97551

       UP24/07/04 P F407

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:
01 August 2024