DB2 - Problembeschreibung
Problem IC70007 | Status: Geschlossen |
LOAD TERMINATE FAILS WITH SQL2032N WHEN BLOCKNONLOGGED ENABLED. | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 950 - 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.5 * **************************************************************** * PROBLEM DESCRIPTION: * * See Error description field for more information. * **************************************************************** * RECOMMENDATION: * * Upgrade to Version 9.5 FixPack 7. * **************************************************************** | |
Local-Fix: | |
Temporarily disable the BLOCKNONLOGGED db config parameter and invoke the Load TERMINATE. | |
verfügbare FixPacks: | |
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows | |
Lösung | |
Problem was first fixed in DB2 UDB Version 9.5 FixPack 7. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC70035 Nachfolger : | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 17.07.2010 11.01.2011 11.01.2011 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.5.FP7 | |
Problem behoben lt. FixList in der Version | |
9.1.0.7 | |
9.5.0.7 |