DB2 - Problem description
Problem IC80111 | Status: Closed |
THE CODE PAGE STORED IN SYSCAT.COLUMNS FOR A GRAPHIC TYPED COLUM N GETS RESET TO 0 AFTER RUNNING THE ALTER COLUMN ... COMMAND | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
After altering the GRAPHIC typed column with ALTER TABLE command, the code page stored in the system catalog gets reset to 0. Example below illustrates the problem. select codepage from syscat.columns where tabname = 'TEST' and typename = 'GRAPHIC' CODEPAGE -------- 1200 1 record(s) selected. alter table test alter column id set with default null DB20000I The SQL command completed successfully. select codepage from syscat.columns where tabname = 'TEST' and typename = 'GRAPHIC' CODEPAGE -------- 0 1 record(s) selected. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All the users of DB2 v9.7 FP5 and earlier. * **************************************************************** * PROBLEM DESCRIPTION: * * After altering the GRAPHIC column with ALTER TABLE command, * * you have noticed that the code page got reset. Example below * * illustrates the problem. * * * * Before alter column: * * * * db2 "select CODEPAGE, DBCSCODEPG, COMPOSITE_CODEPAGE from * * sysibm.syscolumns where tbname = 'TEST'" * * * * CODEPAGE DBCSCODEPG COMPOSITE_CODEPAGE * * -------- ---------- ------------------ * * 0 1200 1200 * * * * 1 record(s) selected. * * * * After alter column: * * * * db2 "select CODEPAGE, DBCSCODEPG, COMPOSITE_CODEPAGE from * * sysibm.syscolumns where tbname = 'TEST'" * * * * CODEPAGE DBCSCODEPG COMPOSITE_CODEPAGE * * -------- ---------- ------------------ * * 0 1200 0 * * * * 1 record(s) selected. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 v9.7 FP6 * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows | |
Solution | |
The problem was first fixed in DB2 v9.7 FP6 | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC84193 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 01.12.2011 11.06.2012 11.06.2012 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP6 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.6 |