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 IC65821 Status: Geschlossen

DB2 CLP DOES NOT SUPPORT THE <CR> CHARACTER (0X0D) AT THE LAST AND
SECOND LAST POSITION OF CLP STATEMENT.

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
1) To input the carriage return character, press (Ctrl+V+M) or 
(Ctrl+V)+(Ctrl+M) or (Ctrl+V)+Enter. (In vi editor or on prompt) 
2) In db2 prompt mode, create and drop a table which contains 
the carriage return character. The table name should be quoted. 
   db2 => create table "tab1^M" (c1 int) 
   DB20000I  The SQL command completed successfully. 
   db2 => drop table "tab1^M" 
   DB21034E  The command was processed as an SQL statement 
   because it was not a valid Command Line Processor command. 
   During SQL processing it returned: 
   SQL0010N  The string constant beginning with ""tab1" does not 
   have an ending string delimiter.  SQLSTATE=42603 
3) The table can't be dropped in shell command prompt 
   => db2 'drop table "tab1^M"' 
   DB21034E  The command was processed as an SQL statement 
   because it was not a valid Command LIne Processor command. 
   During SQL processing it returned: 
   SQL0204N  "IIDEV22.tab1^M" is an undefined name. 
   SQLSTATE=42704 
   [1192] [iidev22@db2esv39] /home2/iidev22/sqllib/db2dump 
 
   => db2 "drop table \"tab1^M\"" 
   DB21034E  The command was processed as an SQL statement 
   because it was not a valid Command Line Processor command. 
   During SQL processing it returned: 
   SQL0010N  The string constant beginning with ""tab1" does not 
   have an ending string delimiter.  SQLSTATE=42603 
 
4) This issue is not reproducible on Windows, because we can't 
   type ^M(ctrl+V+M) on windows.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users of the DB2 CLP                                     * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* The DB2 Command Line Processor (CLP) does not support the    * 
* 'carriage return' character (x'0D') in the last or second    * 
* last position of a CLP statement. The command will fail with * 
* a DB21034E and SQL0100N errors.                              * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Workaround is to put the commands in a script and execute:   * 
* db2 -tvf <script_name>                                       * 
****************************************************************
Local-Fix:
Local Fix: Put the commands in a script and execute 
  db2 -tvf <script_name>
verfügbare FixPacks:
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
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 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
First fixed in DB2 v9.5 FP6
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
26.01.2010
19.07.2010
19.07.2010
Problem behoben ab folgender Versionen (IBM BugInfos)
9.5.FP6
Problem behoben lt. FixList in der Version
9.7.0.2 FixList