IBM Support

PK41357: ALC SQLCODE = -607 ALTER INDEX ADD COLUMN WHEN FOREIGN KEYS EXIS TS AS NO DROP FOREIGN KEY ISSUED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Object Comparision Tool generated APPLY job fails with
    a message:
    DSNT408I SQLCODE = -607, ERROR:  OPERATION OR OPTION ALTER IS
    NOT DEFINED FOR THIS OBJECT
    when attempting to ALTER INDEX ADD COLUMN as the table had
    a foreign key defined.
    Additional search args:
    SQLCODEN607
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Object Compare Ver 7.1.             *
    ****************************************************************
    * PROBLEM DESCRIPTION: OC attempted  an invalid  ALTER  INDEX  *
    *                      ADD COLUMN for a unique index, getting  *
    *                      -20181.                                 *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    ALTER INDEX ADD COLUMN for a unique index should not be used. It
    will be accomplishedc by dropping the  tablespace and recreating
    the tablespace and dependent objects.
    

Problem conclusion

  • The problem has been fixed in Object Compare Ver 7.1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK41357

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-03-15

  • Closed date

    2008-01-17

  • Last modified date

    2008-02-02

  • 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

  • R710 PSY UK33040

       UP08/01/25 P F801

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

Document Information

Modified date:
02 February 2008