IBM Support

PI88631: DB2 ADMINISTRATION TOOL - ALT COLUMN TO SET DEFAULT NULL GENERATES UNNECESSARY DROP/CREATE TABLE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using ALT command to alter a table column from
    INTEGER WITH DEFAULT
    to INTEGER WITH DEFAULT NULL
    DB2 Admin Tool is generating a DROP/CREATE instead of
    ALTER TABLE tbl-name ALTER COLUMN col-name SET DEFAULT NULL
    

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 alter column default       *
    *                 value.                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: When altering a table column from       *
    *                      INTEGER WITH DEFAULT to                 *
    *                      INTEGER WITH DEFAULT NULL               *
    *                      the table is dropped and recreated      *
    *                      instead of altered.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Admin Tool is generating a DROP/CREATE instead of
    ALTER TABLE table-name ALTER COLUMN column-name
    SET DEFAULT NULL if a column is updated from INTEGER
    WITH DEFAULT to INTEGER WITH DEFAULT NULL.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI88631

  • 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

    2017-10-11

  • Closed date

    2017-12-12

  • Last modified date

    2018-01-03

  • 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

  • RB20 PSY UI52629

       UP17/12/14 P F712

  • RC10 PSY UI52630

       UP17/12/14 P F712

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":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
03 January 2018