DB2 - Problembeschreibung
Problem IC72552 | Status: Geschlossen |
DB2MOVE FILE HANDLING ERROR REPORTING IS INADEQUATE | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
db2move code does not report error information well when encountering errors opening or accessing a file. e.g. $ cd / $ db2move sample export -tn staff Application code page not determined, using ANSI codepage 819 Error opening list file. Terminating ... **Error occured while opening a file. The error handling should at least report the OS errno and the filename it tried to access. The error number returned can then be checked in e.g. /usr/include/sys/errno.h to find it's meaning. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * all * **************************************************************** * PROBLEM DESCRIPTION: * * db2move error reporting can be misleading. * **************************************************************** * RECOMMENDATION: * * Upgrade DB2 to V9.7 Fixpak 4 * **************************************************************** | |
Local-Fix: | |
Use truss or strace to determine the error number and file. e.g. truss -o ~/tr.out db2move sample export -tn staff in tr.out : kopen("db2move.lst", O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH) Err#13 EACCES kwrite(1, "\n\n E r r o r o p e n".., 44) = 44 kwrite(1, "\n * * E r r o r o c c".., 39) = 39 | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows | |
Lösung | |
This problem has first been fixed in v9.7 Fixpak 4 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC73050 Nachfolger : | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 12.11.2010 24.05.2011 24.05.2011 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7. | |
Problem behoben lt. FixList in der Version | |
9.7.0.4 |