IBM Support

IC79656: COLUMN DATAPARTITIONEXPRESSION IN SYSCAT.DATAPARTITONEXPRESSION CATALOG VIEW DOESN'T GET UPDATED UPON ALTERING A COLUMN NAME

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The column DATAPARTITIONEXPRESSION in
    SYSCAT.DATAPARTITIONEXPRESSION catalog view doesn't get updated
    upon altering a column name.
    
    Example:
    CREATE TABLE R1.RENAMEPARTCOLUMN ("COL1" INTEGER)PARTITION BY
    RANGE ("COL1" NULLS LAST)(PARTITION 0 STARTING(0) INCLUSIVE
    ENDING (50) EXCLUSIVE)
    DB20000I  The SQL command completed successfully.
    
    ALTER TABLE R1.RENAMEPARTCOLUMN RENAME COLUMN COL1 TO COL2
    DB20000I  The SQL command completed successfully.
    
    SELECT TABNAME ,DATAPARTITIONEXPRESSION FROM
    SYSCAT.DATAPARTITIONEXPRESSION WHERE TABNAME =
    'RENAMEPARTCOLUMN' and TABSCHEMA = 'R1'
    TABNAME                     DATAPARTITIONEXPRESSION
    --------------------          ---------------------------------
    RENAMEPARTCOLUMN   COL1  <----------------------- Should be COL2
      1 record(s) selected.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 and Fix Pack 6                    *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version 9.7 Fix pack 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC79656

  • 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-11-07

  • Closed date

    2013-04-15

  • Last modified date

    2013-04-15

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

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

    IC84168

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 #: IC79656

Modified date: 15 April 2013