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

PROPER MESSAGE IS NOT THROWN WHEN DB2CLI INSTALL -CLEANUP -FORCE OPTION IS
USED AFTER DB2CLI INSTALL -CLEANUP OPTION

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
Proper message is not thrown when db2cli install -cleanup -force 
option is used after db2cli install -cleanup option 
after db2cli install -cleanup option 
 
Steps: 
 
1) Register CLI driver without using appdatapath option 
2) Verify that all the folders are created in the default dir: 
 
C:\Documents and Settings\All Users\Application Data\IBM\DB2 
 
3) Unregister CLI driver with the below option 
db2cli install -cleanup 
 
Below error is thrown: 
 
C:\ibm_data_server_driver_for_odbc_cli\clidriver\bin>db2cli 
install -cleanup 
IBM DATABASE 2 Interactive CLI Sample Program 
(C) COPYRIGHT International Business Machines Corp. 1993,1996 
All Rights Reserved 
Licensed Materials - Property of IBM 
US Government Users Restricted Rights - Use, duplication or 
disclosure restricted by GSA ADP Schedule Contract with IBM 
Corp. 
 
The IBM Data Server Driver for ODBC and CLI unregistered 
successfully. 
The configuration files and folders are removed successfully 
from 
C:\Documents and Settings\All Users\Application 
Data\IBM\DB2\C_ibm_data_server_d 
river_for_odbc_cli_clidriver 
 
Note: User-created files and sub-folders are untouched (can 
beremoved using -force sub-option). 
 
4) Now again run the below command to remove the directories: 
 
db2cli install -cleanup -force 
 
With this command we get the below output: 
 
C:\ibm_data_server_driver_for_odbc_cli\clidriver\bin>db2cli 
install -cleanup -fo 
rce 
IBM DATABASE 2 Interactive CLI Sample Program 
(C) COPYRIGHT International Business Machines Corp. 1993,1996 
All Rights Reserved 
Licensed Materials - Property of IBM 
US Government Users Restricted Rights - Use, duplication or 
disclosure restricted by GSA ADP Schedule Contract with IBM 
Corp. 
 
Error: The install operation failed. 
 
But since the folders and sub folders are removed with this 
command proper message should be thrown that folders and sub 
folders are removed. The above error message which we get during 
that command gives and wrong information to user.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* db2cli users                                                 * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* upgrade to db2_v97fp6 or later                               * 
****************************************************************
Local Fix:
available fix packs:
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
problem fixed.
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC83842 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
08.12.2011
12.06.2012
06.11.2012
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.6 FixList