IBM Support

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

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error 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.
    

Local fix

  • Manually update the db2dart /DDEL output file.
    

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                                           *
    ****************************************************************
    

Problem conclusion

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

Temporary fix

  • Manually update the db2dart /DDEL output file.
    

Comments

APAR Information

  • APAR number

    IC68999

  • 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

    2010-06-03

  • Closed date

    2011-05-09

  • Last modified date

    2011-05-09

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

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

    IC69382 IC69383 IC69384

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

Modified date: 09 May 2011