IBM Support

PM22392: ALTER CONSTRAINT LENGTH DROPS RECREATES TABLE NOT, FFA10 PM31990 DROP CONSTRAINT/ALTER TABLE/ADD CONSTRAINT/CHECK/REORG UTIL

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When DB2 Object Comparison Tool for z/OS detects a difference
    in the constraint length, tool drops/recreates table instead
    of DROP CONSTRAINT, ALTER TABLE, ADD CONSTRAINT, run UTILITIES
    CHECK and REORG.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool for  *
    *                 z/OS who compare tables with check           *
    *                 constraints.                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: When a change is made to a column       *
    *                      which has a CHECK CONSTRAINT defined    *
    *                      against it, DB2 Object Compare          *
    *                      performs a DROP/CREATE of the table     *
    *                      and does not allow ALTER.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a change is made to a column which has a CHECK CONSTRAINT
    defined against it, DB2 Object Compare performs a DROP/CREATE
    of the table and does not allow ALTER.
    

Problem conclusion

  • DB2 Object Compare is fixed to use DROP CONSTRAINT, ALTER
    TABLE, ADD CONSTRAINT, and follow up with the CHECK DATA and
    REORG utilities.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM22392

  • 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-13

  • Closed date

    2011-04-01

  • Last modified date

    2011-05-02

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

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

Modules/Macros

  • GOC2CMR
    GOC2CMT
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • R720 PSY UK66435

       UP11/04/08 P F104

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