IBM Support

PM22678: RENAME OF COLUMN FAILS SQLCODEN750 AS CONSTRAINT NOT DROPPED BEFORE RENAME. FFA10 PM31726.

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 Comparison Tool for z/OS generated DDL in the
    wrong sequence when attempting to implement a RENAME of a column
    on a table with a CONSTRAINT defined. The ALTER TABLE xxx RENAME
    COLUMN aaa fails with a SQLCODE -750 as the DROP CONSTRAINT
    statement is out of sequence and occurs after the RENAME
    statement rather than before it.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool for  *
    *                 z/OS who rename table columns that have      *
    *                 constraints on the columns being renamed.    *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DB2 Object Comparison Tool renamed  *
    *                      the table column before dropping the    *
    *                      constraint.  The change failed with a   *
    *                      SQLCODEN750:                            *
    *                                                              *
    *                      DSNT408I SQLCODE = -750, ERROR:         *
    *                      THE SOURCE TABLE table_name             *
    *                      CANNOT BE RENAMED OR ALTERED            *
    *                      BECAUSE IT IS REFERENCED IN EXISTING    *
    *                      VIEW, MATERIALIZED QUERY TABLE,         *
    *                      OR TRIGGER DEFINITIONS, IS A CLONE      *
    *                      TABLE, OR HAS A CLONE TABLE DEFINED     *
    *                      FOR                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The DB2 Object Comparison Tool did not drop the constraint
    before renaming the table column.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM22678

  • 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

    2010-09-16

  • Closed date

    2011-05-20

  • Last modified date

    2011-06-02

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

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

    UK67991

Modules/Macros

  •    GOCGAJOB GOC2CMF  GOC2CMP  GOC2CMR  GOC2CMS
    GOC2CMT
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • R720 PSY UK67991

       UP11/05/26 P F105

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