IBM Support

PH42937: ALTER "INTEGER WITH DEFAULT 1" TO "WITH DEFAULT NULL" GENERATES DROP/RECREATE IN CHANGE MANAGEMENT WHEN ALTER POSSIBLE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A change to a column's default value from 1 to NULL can be done
    in a direct alter to the column, e.g. ALTER TABLE ALTER COLUMN
    SET WITH DEFAULT NULL.  However, when Change Management
    is used (for example, to import the change), Analyze
    generates a drop and create of the table.
    

Local fix

  • Use Classic Compare (without Change Management) to generate the
    ALTER.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 and Db2 Object Comparison Tool for z/OS      *
    ****************************************************************
    * PROBLEM DESCRIPTION: A column change that can be done with   *
    *                      an alter resulted in a drop and         *
    *                      recreate.                               *
    *                                                              *
    ****************************************************************
    A change in a column's SYSCOLUMNS.DEFAULTVALUE from an integer
    to NULL by Change Management resulted in a drop and recreate of
    the column's table. This kind of change is possible with an
    alter operation.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH42937

  • 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

    2021-12-20

  • Closed date

    2022-03-25

  • Last modified date

    2022-04-01

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

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

    UI79885

Modules/Macros

  • ADBCDTS
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI79885

       UP22/03/26 P F203

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

Document Information

Modified date:
02 April 2022