IBM Support

PH10291: DB2 ADMINISTRATION TOOL - ALTER TABLE ADD COLUMN, AN INVALID USER DEFINED DEFAULT IS ACCEPTED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using Alter table to add a new column, then updating that column
    to add a user defined default value, the datatype is not checked
    and is accepted. The change fails on execution with SQLCODE -574
    / SQLCODEN574.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool for z/OS.   *
    ****************************************************************
    * PROBLEM DESCRIPTION: "Default value" field on panel ADB26CTU *
    *                      - 'Alter Table' does not check for      *
    *                      invalid values.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When ALT on a table and updating the "Default value" field on
    panel ADB26CTU - 'Alter Table', there is no error handling to
    check for invalid values. Running the change will result in
    SQLCODE=-574 / SQLCODEN574.
    
    Error message ADB500A should occur if erroneous information is
    entered for field "Default value" on panel ADB26CTU 'Alter
    Table':
    
       ADB500A Invalid specification
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH10291

  • 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

    2019-03-28

  • Closed date

    2019-07-02

  • Last modified date

    2019-08-01

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

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

    UI64052

Modules/Macros

  •    ADB26CTU
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI64052

       UP19/07/08 P F907

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":"12.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
01 August 2019