Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC68999 Status: Closed

DB2DART /DDEL EXTRACTS DATA WITH DEFAULT KEYWORD INSTEAD OF THE DEFAULT
VALUE.

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
When a table has a column with any one of the following 
definitions, 
 
db2 "create table t2 (in int not null with default 0 compress 
system default, in1 int ) value compression" 
db2 "create table t3 (in int not null compress system default, 
in1 int) value compression" 
db2 "create table t5 (ch char not null with default ' ' compress 
system default, in int) value compression" 
 
the DEFAULT will be dumped by /DDEL when the column is not null 
with compress system default, but the default value or data 
itself inside column is 0 or empty char. Ideally, db2d2dart 
/DDEL should output either 0 or empty string depending on the 
data type.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* DB2DART /DDEL EXTRACTS DATA WITH DEFAULT KEYWORD INSTEAD OF  * 
* THE                                                          * 
* DEFAULT VALUE.                                               * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to 9.7 FP4                                           * 
****************************************************************
Local Fix:
Manually update the db2dart /DDEL output file.
available fix packs:
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
DB2DART /DDEL EXTRACTS DATA WITH DEFAULT KEYWORD INSTEAD OF THE 
DEFAULT VALUE.
Workaround
Manually update the db2dart /DDEL output file.
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC69382 IC69383 IC69384 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
03.06.2010
09.05.2011
09.05.2011
Problem solved at the following versions (IBM BugInfos)
9.7.FP4
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.4 FixList