DB2 - Problem description
Problem IC72448 | Status: Closed |
SYSPROC.ADMIN_REMOVE_MSGS DOES NOT DELETE MESSAGE FILES(GENERATE D BY ADMIN_CMD) WHOSE NAME IS APPENDED WITH UNDERSCORE(_). | |
product: | |
DB2 FOR LUW / DB2FORLUW / 950 - DB2 | |
Problem description: | |
Executing a LOAD operation via ADMIN_CMD and option MESSAGES ON SERVER creates and leaves a message file on the database server. This message file is named like 'LOAD_<STRING>_<USERID-postfix>'. SYSPROC.ADMIN_REMOVE_MSGS should be used to remove these message files if no longer needed. In certain situations DB2 will name the message file like following: 'LOAD_<STRING>_' E.g. if the user id information is not available at the time of the DB2 internal message file rename. The attempt to remove a message file whose name ends with underscore will not be successful although ADMIN_REMOVE_MESSAGES reports successful execution as shown below. # ls LOAD_N8BYSB_ # db2 "CALL SYSPROC.ADMIN_REMOVE_MSGS('31393')" Return Status = 0 # ls LOAD_N8BYSB_ This APAR addresses the correct removal of such message files. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * see ERROR DESCRIPTION * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.5 Fix Pack 8. * **************************************************************** | |
Local Fix: | |
Check the default message file path (if DB2_UTIL_MSGPATH is not set) '<instowner home>/sqllib/tmp' and delete these message files manually if no longer needed. | |
available fix packs: | |
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 Version 9.5 Fix Pack 8. | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC72449 IC72450 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 08.11.2010 01.07.2011 01.07.2011 |
Problem solved at the following versions (IBM BugInfos) | |
9.5.FP8 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.5.0.8 |