IBM Support

PH28116: WHEN A TABLE IS ALTERED TO ADD A PARTITION, THE EXPORTED CHANGE HAS A DROP/CREATE INSTEAD OF THE ALTER TABLE ADD PARTITION

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Currently, when an table is altered to add a partition,
    the exported change file contains a drop/create instead of an
    ALTER TABLE ADD PARTITION.
    
    This causes issues when trying to use the exported change file
    to propagate the changes to multiple targets elsewhere.  For
    example, the create table may not reflect the table exactly as
    it exists elsewhere, and may cause unwanted changes.
    Tablespace name for instance, or columns changes.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool      *
    *                 and DB2 Administration Tool CM Batch         *
    *                 interface for Z/OS.                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: Adding a partition to a table will      *
    *                      result in a CHG that contains a DROP    *
    *                      and CREATE of the table. When trying    *
    *                      to export this change with a mask the   *
    *                      entire definition of the table will be  *
    *                      included which means the new            *
    *                      table to be changed will not only       *
    *                      have a new partition added but its      *
    *                      definition will change to be identical  *
    *                      to the one in the exported CHG.         *
    ****************************************************************
    The current behavior of compare when adding a partition to a
    table is to DROP and CREATE the table. When exporting a CHG
    using a mask containing this DROP and CREATE of the table, the
    entire definition of the table is included in exported CHG. When
    trying to alter a different table to add a partition the user
    must now update the definition of the table to the table
    definition in the exported CHG. This can cause unwanted changes
    to the table in the masked exported CHG.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH28116

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-08-04

  • Closed date

    2020-11-12

  • Last modified date

    2020-12-01

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

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

    UI72553 010PC2Ÿ 010PC2Ÿ 010PC2Ÿ

Modules/Macros

  • ADB2CME  ADB2CMT
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI72553

       UP20/12/01 P F011

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0"}]

Document Information

Modified date:
12 February 2021