IBM Support

PM89937: ALT LIMIT KEYS OF TEMPORAL TABLE ISSUES DROP VERSIONING STATEMENT LEAVING TABLE WITHOUT VERSIONING

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 Administration Tool for z/OS reports problem with ALTER on
    TEMPORAL TABLE because an un-needed DROP VERSIONING statement is
    generated. Similar problem exists in DB2 Object Compare Tool for
    z/OS, and the history table should be treated as a dependent
    object (like indexes) and therefore be compared.
    .
    Example of extraneous statement:
      DDL    ALTER TABLE MFSMFX4.ABC DROP VERSIONING
    .
    Additional keywords: ALT GOC WSL CM NOCM
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who use the ALT 'ALT Alter Table'       *
    *                 (ALT) function or users of the DB2 Object    *
    *                 Comparison Tool for z/OS who use Compare     *
    *                 to alter the partitioning limit key of the   *
    *                 temporal or history table.                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: DB2 Administration Tool for z/OS ALT    *
    *                      function and DB2 Object Compare         *
    *                      generates an extraneous ALTER TABLE     *
    *                      >tbschema<.>tbname> DROP VERSIONING     *
    *                      statement when altering a partitioning  *
    *                      limit key of the temporal table,        *
    *                      leaving the table without versioning    *
    *                      after the change. An extraneous ALTER   *
    *                      TABLE >tbschema<.>tbname< DROP          *
    *                      VERSIONING statement is also generated  *
    *                      when altering a table and adding new    *
    *                      partitions.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    DB2 Administration Tool for z/OS ALT function and DB2 Object
    Compare generates an extraneous ALTER TABLE >tbschema<.>tbname>
    DROP VERSIONING statement when altering a partitioning limit
    key of the temporal table, leaving the table without versioning
    after the change. An extraneous ALTER TABLE >tbschema<.>tbname<
    DROP VERSIONING statement is also generated when altering a
    table and adding new partitions.
    

Problem conclusion

  • Problems have been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM89937

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-05-28

  • Closed date

    2013-07-16

  • Last modified date

    2013-08-02

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

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

Modules/Macros

  • ADB2CMT
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK95900

       UP13/07/18 P F307

  • RA20 PSY UK95901

       UP13/07/18 P F307

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.2.0"}]

Document Information

Modified date:
30 March 2021