DB2 - Problembeschreibung
Problem IC89225 | Status: Geschlossen |
Load might change the current working directory of db2sysc when loading LOB/XML data in a non-DPF environment | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
When loading LOB/XML data in a non-DPF environment, if LOB/XML data resides in separate files (i.e. LOB/XML data is indicated by LLS/XDS in data file) and the LOBS/XML FROM parameter is not specified (for LOB data, the lobsinfile file type modifier is specified), Load might change the current working directory (CWD) of db2sysc to the directory where Load is executed. And this only applies if the client and server are on the same machine. In the case, it might have some unexpected effects, e.g. you might not be able to unmount the file system where Load is executed. The following is an example: ----- example.sh start from here ---------- db2start DB2SYSCPID=`ps -ef | grep db2sysc | grep $USER | grep -v grep | awk '{print $2}'` echo "Time 1:" ls -alR /proc/$DB2SYSCPID/cwd db2 create db test db2 connect to test db2 "create table tab1 (col1 int, col2 blob)" echo "Time 2:" ls -alR /proc/$DB2SYSCPID/cwd db2 "load from tab1.ixf of ixf insert into db2inst1.tab1" echo "Time 3:" ls -alR /proc/$DB2SYSCPID/cwd ----- example.sh end to here ---------- When a user runs the above example.sh, at Time 1 and Time 2, the CWD of db2sysc is '/'. But at Time 3, it is "/home/db2inst1/work" where the load is executed. This prevents unmounting the file system where "/home/db2inst1/work" is. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * DB2 UDB Version 9.7 * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Version 9.7 FixPack 8. * **************************************************************** | |
Local-Fix: | |
Specify the LOBS/XML FROM parameter explicitly for the load. | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows | |
Lösung | |
Problem was first fixed in DB2 UDB Version 9.7 FixPack 8. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC89228 Nachfolger : | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 19.12.2012 02.04.2013 02.04.2013 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP8 | |
Problem behoben lt. FixList in der Version | |
9.7.0.8 |