IBM Support

PK19746: OBJECT COMPARE ADDS A REDUNDANT PRIMARY KEY CONSTRAINT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Object Compare after doing a "smart add" of some fields also
    added a primary key constraint that already existed on the table
    this will produce an error.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Object Comparison Tool release  *
    *                 310, who plan to add Primary Key Constraint, *
    *                 may be affected.                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: After  doing  a  "smart add"  of  some  *
    *                      fields and also  adding  a primary key  *
    *                      constraint that already existed on the  *
    *                      table, an error was encountered..       *
    *                      .*                                      *
    *                      There  was garbage in the Changes file  *
    *                      in  ALTER TABLE  statement  when Check  *
    *                      constraints were present.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    See Problem Description.
    

Problem conclusion

  • Apply the fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK19746

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    310

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-02-13

  • Closed date

    2006-03-08

  • Last modified date

    2006-04-05

  • 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

  • R310 PSY UK12422

       UP06/03/28 P F603

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":"310","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 February 2021