IBM Support

PK82885: MESSAGE NULLS/DEFAULT CHANGED FROM IDENTITY GENERATED BY DEFAULT TO IDENTITY GENERATED ALWAYS YET DDL HAS GENERATED BY DEFAULT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Object Comparison Tool for z/OS issues a message:
    Column aaaaaaaaaaaaaa
        (D)Nulls/default changed from IDENTITY GENERATED BY DEFAULT
                                   to IDENTITY GENERATED ALWAYS
      Tables have identical column lists
      Table aaaaaaa.aaaaaaa will be dropped
    yet the CREATE DDL generated has GENERATED BY DEFAULT again.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Object Comparison               *
    *                 Tool for z/OS who alter the                  *
    *                 GENERATED clause on an identity              *
    *                 column.                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: DB2 Object Comparison Tool              *
    *                      reported a change to an identity        *
    *                      column from GENERATED BY                *
    *                      DEFAULT to GENERATED                    *
    *                      ALWAYS, but generated the               *
    *                      column with the GENERATED               *
    *                      BY DEFAULT clause.                      *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    DB2 Object Comparison Tool reported a change to
    an identity column from GENERATED BY
    DEFAULT to GENERATED ALWAYS, but
    generated the column with the GENERATED BY
    DEFAULT clause.
    

Problem conclusion

  • DB2 Object Comparison Tool has been updated to
    recreate the identity column with the GENERATED
    ALWAYS clause and generate an IDENTITYOVERRIDE
    option in the LOAD utility to allow unloaded data to
    be reloaded correctly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK82885

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-03-18

  • Closed date

    2010-08-26

  • Last modified date

    2010-09-02

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

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

    UK60023

Modules/Macros

  •    GOC2CMF  GOC2CMR  GOC2CMT
    

Fix information

  • Fixed component name

    DB2 OBJECT COMP

  • Fixed component ID

    5697G6400

Applicable component levels

  • R720 PSY UK60023

       UP10/08/31 P F008

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

Document Information

Modified date:
12 February 2021