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

LOAD TERMINATE FAILS WITH SQL2032N WHEN BLOCKNONLOGGED ENABLED.

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
When BLOCKNONLOGGED db config parameter is enabled, a Load 
TERMINATE will fail with an SQL2032N. 
Even when the Load COPY YES option is included in the Load 
TERMINATE command, it will still fail, such as: 
 
SQL2032N invalid "COPY FLAG" parameter SQLSTATE=22531 
 
A problem reproducible shell script: 
# repro.sh 
db2 terminate 
db2 drop db sample 
db2 create db sample 
db2 connect to sample 
db2 update db cfg for sample using LOGARCHMETH1 
disk:/home/db2inst1/temp/log 
db2 backup db sample to /dev/null 
db2 connect to sample 
db2 update db cfg using BLOCKNONLOGGED yes 
db2 "create tablespace DMSTSP pagesize 4k managed by database 
using(file 'DMSTSP1.txt' 3000)" 
db2 "create table a(a int,b int) in DMSTSP" 
db2 "insert into a select rand()*1000,rand()*1000 from 
syscat.columns,syscat.columns fetch first 60000 rows only" 
db2 "export to myfile.del of del select * from a" 
db2 "load from /dev/null of del replace into a copy yes to 
/dev/null" 
# make small tablespace to create a load-pending state LOAD 
db2 "alter tablespace DMSTSP resize (file 'DMSTSP1.txt' 200)" 
# create load-pending LOAD 
db2 "load from myfile.del of del insert into a copy yes to 
/dev/null" 
# load-pending due to insufficient space 
db2 "load from myfile.del of del terminate into a copy yes to 
/dev/null" 
# get SQL2032N The "COPY FLAG" parameter is not valid. 
SQLSTATE=22531
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* DB2 UDB Version 9.7                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error description field for more information.            * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to Version 9.7 FixPack 4.                            * 
****************************************************************
Local-Fix:
Temporarily disable the BLOCKNONLOGGED db config parameter and 
invoke the Load TERMINATE.
verfügbare FixPacks:
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 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

Lösung
Problem was first fixed in DB2 UDB Version 9.7 FixPack 4.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
19.07.2010
03.05.2011
03.05.2011
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP4
Problem behoben lt. FixList in der Version
9.7.0.4 FixList