IBM Support

PM09650: COMPARE REPORTS THAT AN (A)DROP CONSTRAINT (A)ADD CONSTRAINT WHEN NO CHANGES EXIST

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 incorrectly reports:
    Compare table source(aaaaaaaD.aaaaaaa) and
    target(aaaaaaa.aaaaaaa)
      (A)Drop constraint : a_aaaaa_aaaa
      (A)Add  constraint : a_aaaaa_aaaa
      Tables have identical column lists
      Table will be altered
    when no changes were made to the CHECK CONSTRAINT
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Object Comparison Tool who      *
    *                 compare tables with check constraints.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DB2 Object Comparison Tool          *
    *                      converted the check condition from the  *
    *                      target to uppercase and left the source *
    *                      check condition in mixed case which led *
    *                      to the difference between source and    *
    *                      target.                                 *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    The DB2 Object Comparison Tool incorrectly reports the changed
    check constraint and generates a drop and create of the check
    constraint when no changes were made.
    

Problem conclusion

  • The DB2 Object Comparison Tool has been updated to convert to
    uppercase the check condition from the source  before comparing
    both constraints.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM09650

  • 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-03-10

  • Closed date

    2010-05-26

  • Last modified date

    2010-07-02

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

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

Modules/Macros

  •    GOC2CMT
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • R720 PSY UK57310

       UP10/06/03 P F006

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