IBM Support

IC78382: ALTER COLUMN SET DATA TYPE WITH COLLATION CHANGE DOES NOT UPDATE COLUMN AND INDEX COLLATION IN SYSTEM CATALOGS

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Sometimes the collation may change depending on the data type
    modification made via ALTER COLUMN SET DATA TYPE. In the case
    where the collation is different from the old type compare to
    the new type, the collation information is not updated in the
    following catalog views for the target column.
    
    - SYSCAT.COLUMNS (column COLLATIONNAME)
    - SYSCAT.INDEXCOLUSE (column COLLATIONNAME)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users running servers on DB2 Version 9.7 GA through Fix  *
    * Pack 4 on platforms Linux, Unix and Windows, and making      *
    * column data type alteration with collation changes.          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Sometimes the collation may change depending on the data     *
    * type                                                         *
    * modification made via ALTER COLUMN SET DATA TYPE. In the     *
    * case                                                         *
    * where the collation is different from the old type compare   *
    * to                                                           *
    * the new type, the collation information is not updated in    *
    * the                                                          *
    * following catalog views for the target column.               *
    *                                                              *
    *                                                              *
    *                                                              *
    * - SYSCAT.COLUMNS (column COLLATIONNAME)                      *
    *                                                              *
    * - SYSCAT.INDEXCOLUSE (column COLLATIONNAME)                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version v9.7 Fix Pack 5.                      *
    ****************************************************************
    

Problem conclusion

  • This problem is first fixed in DB2 Version v9.7 Fix Pack 5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC78382

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-08-29

  • Closed date

    2012-01-19

  • Last modified date

    2012-01-19

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

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC78382

Modified date: 19 January 2012