IBM Support

PK60557: OC COMPANION FOR PK60194 - DROP OF AN INDEX WHICH ENFORCES THE PRIMARY KEY CONSTRAINT RESULTS IN SQLCODE -669

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • This is the Object Compare companion for PK60194.  An index
    drop is performed on an index which enforces a primary key
    constraint which results in SQLCODE -669
    Additional Symptions: msgsqlcode -669 sqlcode669 sqlcoden669
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Object Compare dropping the         *
    *                 unique index.                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: SQLCODE669 would occur when attempting  *
    *                      to drop a primary index or index        *
    *                      enforcing unique constraint if the      *
    *                      table was not part of the source.       *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    In order to drop a constraint-enforcing index, the constraint
    must first be dropped.  OC was not building SQL to drop the
    constraint prior to its attempt to drop the index.
    

Problem conclusion

  • The problem has been fixed in V72.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK60557

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-02-05

  • Closed date

    2008-05-15

  • Last modified date

    2008-06-02

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

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

Modules/Macros

  •    GOC2CMR  GOC5     GOC5H
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • R720 PSY UK36526

       UP08/05/30 P F805

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:
02 June 2008