IBM Support

PH07031: DB2 ADMINISTRATION TOOL - REWORKING OF UNLOAD ALTER TABLES OPTION

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Re-defining Unload Alter Tables option:
    - simplify when ALTER TABLE ADD/DROP COLUMN occurs
    - adding warning message for when ALTER TABLE ADD COLUMN
      encounters a DB2 restriction and forces drop/create
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for         *
    *                 z/OS and Db2 Object Comparison Tool          *
    *                 for z/OS who compare tables that add         *
    *                 and drop columns and use the panel           *
    *                 option "UNLOAD ALTERED TABLES" or CM         *
    *                 Batch UNLOAD_ALTERED_TABLES parameter.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: Compare results in unnecessary DROP/    *
    *                      CREATE statements where an ALTER        *
    *                      statement can be used. In some cases    *
    *                      columns are unnecessarily dropped,      *
    *                      then added back, but the data is not    *
    *                      restored.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Using the option "UNLOAD ALTERED TABLES" when doing a
    Compare or when running Analyze, dropping and appending
    columns generate DROP/CREATE statements where an ALTER
    statement can be used. In other cases, using the option
    "UNLOAD ALTERED TABLES" option to drop and append columns
    was resulting in unnecessary drops/adds of columns and
    the data is not restored. Also, the generated WSL
    attempts to recreate the index before the columns have been
    added back, which results in an SQLCODE=-205 / SQLCODEN205
    error.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH07031

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-01-09

  • Closed date

    2019-02-06

  • Last modified date

    2019-03-01

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

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

    UI61175 UI61176

Modules/Macros

  •    ADB2CMT  ADB7000
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI61175

       UP19/02/08 P F902

  • RC10 PSY UI61176

       UP19/02/08 P F902

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":"11.2.0"}]

Document Information

Modified date:
31 March 2021