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 IC72552 Status: Closed

DB2MOVE FILE HANDLING ERROR REPORTING IS INADEQUATE

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

Solution
This problem has first been fixed in v9.7 Fixpak 4
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC73050 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
12.11.2010
24.05.2011
24.05.2011
Problem solved at the following versions (IBM BugInfos)
9.7.
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.4 FixList