DB2 - Problembeschreibung
| Problem IC80300 | Status: Geschlossen |
"EXPORT COMMAND FAILS ON LINUX WITH -3009 ERROR WHEN THE SELECT STATEMENT IS 64K OR GREATER IN SIZE" | |
| Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
| Problembeschreibung: | |
On linux, when the select clause in import command exceeds 64k
or more, the command may fail with -3009 error.
For example:
When the below test script is executed:
db2 "create db xmldb using CODESET utf-8 TERRITORY us"
db2 connect to xmldb
db2 "CREATE TABLE longstmtsel( column000000000001
VARCHAR(25),column000000000002 VARCHAR(25) )"
db2 "INSERT INTO longstmtsel VALUES('select', 'select
validated')"
db2 -tvf test.clp
cat test.clp:
UPDATE COMMAND OPTIONS USING s OFF;
UPDATE COMMAND OPTIONS USING c OFF;
UPDATE DB CFG FOR XMLDB USING APPLHEAPSZ 1000 STMTHEAP 524288;
!db2 -tvf 64kexport.clp;
Export may return the error:
SQL3009N The Action String parameter is not valid or too long.
File 64kexport.clp contains an import command with select clause
exceeding 64k in size. | |
| Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * clp users * **************************************************************** * PROBLEM DESCRIPTION: * * export command fails on linux when the select stmt exceeds * * 64K * **************************************************************** * RECOMMENDATION: * * upgrade to v97fp6 or later * **************************************************************** | |
| Local-Fix: | |
| verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows | |
| Lösung | |
problem fixed | |
| Workaround | |
keiner bekannt / siehe Local-Fix | |
| Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 08.12.2011 08.12.2011 08.12.2011 |
| Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP6 | |
| Problem behoben lt. FixList in der Version | |
| 9.7.0.6 |
|