home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
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
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC70007 Status: Closed

LOAD TERMINATE FAILS WITH SQL2032N WHEN BLOCKNONLOGGED ENABLED.

product:
DB2 FOR LUW / DB2FORLUW / 950 - DB2
Problem description:
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 Summary:
**************************************************************** 
* 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.
available fix packs:
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

Solution
Problem was first fixed in DB2 UDB Version 9.5 FixPack 7.
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC70035 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
17.07.2010
11.01.2011
11.01.2011
Problem solved at the following versions (IBM BugInfos)
9.5.FP7
Problem solved according to the fixlist(s) of the following version(s)
9.1.0.7 FixList
9.5.0.7 FixList