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

Usage of global variable name longer than 64 characters results in error
message SQL0206N

Produkt:
DB2 FOR LUW / DB2FORLUW / 950 - DB2
Problembeschreibung:
Variable name longer than 64 characters cannot be used in the 
context of a parameter of a procedure results in SQL0206N. 
 
Example: 
 
-- create a global variable with 65-character name 
CREATE VARIABLE 
V234567890V234567890V234567890V234567890V234567890V234567890V234 
5 
INTEGER DEFAULT 42 ; 
 
-- create a simple procedure 
CREATE PROCEDURE PROC01(in A INTEGER) 
BEGIN 
  RETURN A;-- 
END; 
 
-- return SQL0206N 
CALL 
PROC01(V234567890V234567890V234567890V234567890V234567890V234567 
890V2345);
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Software                                                     * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* Variable name longer than 64 characters cannot be used in    * 
* the                                                          * 
* context of a parameter of a procedure results in SQL0206N.   * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Move to v95fp5                                               * 
****************************************************************
Local-Fix:
Change the variable name to less than or equal 64 characters.
verfügbare FixPacks:
DB2 Version 9.5 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 6a for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
Fixed in v95fp5
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
04.08.2009
05.02.2010
05.02.2010
Problem behoben ab folgender Versionen (IBM BugInfos)
9.5.FP5
Problem behoben lt. FixList in der Version
9.5.0.5 FixList