IBM Support

PK39298: OBJECT COMPARE NOT HANDLING CHECK UNIQUE CONSTRAINT CORRECTLY EY CAUSING DROP OR DELETE AND RECREATE UNIQUE KEY

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Compare does not handle changes to the column list of a named
    UNIQUE constraint. Expected results would be a "smart alter"
    to remove a constraint ( constraints ) on the table whenever
    possible . This would avoid the drop / recreate  which is now
    occuring.
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Object Comparison Tool.         *
    ****************************************************************
    * PROBLEM DESCRIPTION: Compare does not handle changes to      *
    *                      the  column list of a named  UNIQUE     *
    *                      constraint.  Expected results would     *
    *                      be  a  "smart alter"  to  remove  a     *
    *                      constraint(constraints)  on a table     *
    *                      whenever possible .This would avoid     *
    *                      the drop / recreate  which is now       *
    ****************************************************************
    * RECOMMENDATION: Apply the PTF.                               *
    ****************************************************************
    Object Compare not handling check unique constraint correctly
    key causing drop or delete and recreate unique key.
    

Problem conclusion

  • The problems have been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK39298

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-02-13

  • Closed date

    2007-06-29

  • Last modified date

    2007-09-04

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

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

Modules/Macros

  •    GOC2CMF
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • R720 PSY UK26716

       UP07/08/10 P F708

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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSAUVH","label":"IBM Db2 Object Comparison Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 February 2021