IBM Support

PH03076: OBJECT COMPARISON TOOL CHANGE COLUMN TYPE CHANGES FILE MISSING 'WITH DEFAULT' CLAUSE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In an Compare scenario where both source and target columns
    include a 'NOT NULL WITH DEFAULT' clause, and the source column
    changes the type  of the corresponding target column (for
    example, from CHAR(50) to CHAR(35)), Object
    Compare may produce a CHANGES file that omits the 'WITH
    DEFAULT' clause.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Object Comparison Tool for      *
    *                 z/OS who compare tables with columns         *
    *                 defined as NOT NULL WITH DEFAULT.            *
    ****************************************************************
    * PROBLEM DESCRIPTION: When comparing tables with a 'NOT       *
    *                      NULL WITH DEFAULT' column               *
    *                      changing its column type, the           *
    *                      resulting CHG file is missing the       *
    *                      WITH DEFAULT attribute as part          *
    *                      of the column definition.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When comparing tables with a 'NOT NULL WITH DEFAULT' column
    changing its column type (e.g., from CHAR(50) to CHAR(35)),
    the resulting CHG file is missing the WITH DEFAULT attribute
    as part of the column definition.  The WITH DEFAULT attribute
    was part of the column definition before the comparison
    and did not change as a result of the comparison, so the
    resulting definition should still include WITH DEFAULT.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH03076

  • 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

    2018-09-20

  • Closed date

    2019-01-25

  • Last modified date

    2019-02-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

  • RB20 PSY UI60959

       UP19/01/29 P F901

  • RC10 PSY UI60960

       UP19/01/29 P F901

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:
02 February 2019