home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC78540 Status: Geschlossen

TBE DB2LOOK TOOL DOESN'T PRODUCE PROPER DDL FOR TABLES WITH
PARENTHESIS IN THE TABLE NAME

Produkt:
DB2 FOR LUW / DB2FORLUW / 910 - DB2
Problembeschreibung:
Tbe db2look tool doesn't produce proper DDL for tables with 
parenthesis in the table name.  The DDL produced will have extra 
spaces that will cause the table to be misnamed if this DDL is 
used to recreate. 
 
A simple example: 
  db2sampl 
  echo "connect to sample;" > badtab.sql 
  echo 'CREATE TABLE "BADTABLE(THESE)" (myint int);' >> 
badtab.sql 
  db2 -tvf badtab.sql 
  db2look -d sample -e -o outfile.ddl 
 
Produces this DDL: 
  $ grep -iA2 badtable outfile.ddl 
  -- DDL Statements for table "MSLV97  "."BADTABLE(THESE)" 
  ------------------------------------------------ 
 
  CREATE TABLE "MSLV97  "."BADTABLE ( 
           THESE)" ( "MYINT" INTEGER ) 
           IN "IBMDB2SAMPLEREL" ;
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users of the db2look tool that have tables with parenthesis  * 
* in the table name.                                           * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* Tbe db2look tool doesn't produce proper DDL for tables with  * 
*                                                              * 
* parenthesis in the table name.  The DDL produced will have   * 
* extra                                                        * 
* spaces that will cause the table to be misnamed if this DDL  * 
* is                                                           * 
* used to recreate.                                            * 
*                                                              * 
*                                                              * 
*                                                              * 
* A simple example:                                            * 
*                                                              * 
*   db2sampl                                                   * 
*                                                              * 
*   echo "connect to sample;" > badtab.sql                     * 
*                                                              * 
*   echo 'CREATE TABLE "BADTABLE(THESE)" (myint int);' >>      * 
*                                                              * 
* badtab.sql                                                   * 
*                                                              * 
*   db2 -tvf badtab.sql                                        * 
*                                                              * 
*   db2look -d sample -e -o outfile.ddl                        * 
*                                                              * 
*                                                              * 
*                                                              * 
* Produces this DDL:                                           * 
*                                                              * 
*   $ grep -iA2 badtable outfile.ddl                           * 
*                                                              * 
*   -- DDL Statements for table "MSLV97  "."BADTABLE(THESE)"   * 
*                                                              * 
*   ------------------------------------------------           * 
*                                                              * 
*                                                              * 
*                                                              * 
*   CREATE TABLE "MSLV97  "."BADTABLE (                        * 
*                                                              * 
*           THESE)" ( "MYINT" INTEGER )                        * 
*                                                              * 
*           IN "IBMDB2SAMPLEREL" ;                             * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 v9.1 FP11                                     * 
****************************************************************
Local-Fix:
Manually fix the DDL that is produced
verfügbare FixPacks:
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.1 Fix Pack 11  for Linux, UNIX and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.1 Fix Pack 12  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
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
Problem will be fixed in DB2 v9.1 FP11
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC78550 IC78551 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
07.09.2011
23.12.2011
23.12.2011
Problem behoben ab folgender Versionen (IBM BugInfos)
9.1.FP11
Problem behoben lt. FixList in der Version
9.1.0.11 FixList
9.5.0.9 FixList
9.7.0.6 FixList