IBM Support

PK78595: DB2 OBJECT COMPARE WHEN TABLE IS REFERENCED BY MQT, PARTITIONING KEYS NOT ALTERED(MQT SHOULD BE DROPPED/CREATED).FFA10 PM42531

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 OBJECT COMPARE WHEN TABLE IS REFERENCED BY MQT, PARTITIONING
    KEYS CANNOT BE ALTERED (MQT SHOULD BE DROPPED/RECREATED).
    

Local fix

  • APPLY PTF.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool for  *
    *                 z/OS who compare the source and target with  *
    *                 a partitioned table that has a dependent     *
    *                 materialized query table ( MQT ).            *
    ****************************************************************
    * PROBLEM DESCRIPTION: An ALTER TABLE..ALTER PARTITION         *
    *                      statement is generated when applying    *
    *                      a change and DB2 issues an SQLCODE =    *
    *                      -20183 / SQLCODEN20183 error:           *
    *                                                              *
    *                      THE PARTITIONED, ADD PARTITION, ADD     *
    *                      PARTITIONING KEY, ALTER PARTITION,      *
    *                      ROTATE PARTITION, OR PARTITION BY       *
    *                      RANGE CLAUSE SPECIFIED ON CREATE        *
    *                      OR ALTER FOR objname IS NOT VALID       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An ALTER TABLE..ALTER PARTITION statement is generated when
    applying a change and DB2 issues an SQLCODE = -20183 /
    SQLCODEN20183 error:
    
    THE PARTITIONED, ADD PARTITION, ADD PARTITIONING KEY, ALTER
    PARTITION, ROTATE PARTITION, OR PARTITION BY RANGE CLAUSE
    SPECIFIED ON CREATE OR ALTER FOR objname IS NOT VALID
    
    To correctly address this issue, the DB2 Object Comparison
    Tool should correct the DROP/CREATE sequences for the
    affected table and table space.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK78595

  • 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

    2009-01-13

  • Closed date

    2011-07-12

  • Last modified date

    2011-08-01

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

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

    UK69686

Modules/Macros

  •    GOC2CMT
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • R720 PSY UK69686

       UP11/07/15 P F107

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