DB2 - Problembeschreibung
Problem IC62763 | Status: Geschlossen |
RUNNING DRDA TRACE ON WINDOWS - TEMP DIR PERMISSION ISUES | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
Running db2drdat or ddcstrc on Windows results in the following error: Could not create file "\s36c.". SQL1512N ddcstrc could not write to the specified file. SQL1513W ddcstrc has not been turned off. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * Windows users using ddcstrc/db2drdat and have limited write * * permissions to route directory * **************************************************************** * PROBLEM DESCRIPTION: * * With added security on windows systems mechanism by which * * ddcstrc/db2drdat was trying to open a temp file could fail. * * Need to ensure opening temp file in directory user has write * * access too. * **************************************************************** * RECOMMENDATION: * * Update to latest fixpack only if experiencing issues using * * db2drdat. * **************************************************************** | |
Local-Fix: | |
On Windows use _tempnam to generate temp file in current directory to ensure temp file used to dump trace for formatting is written to directory user has write access on. | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows | |
Lösung | |
changed ddcstrc/db2drdat to use different windows API to create temp file. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 25.08.2009 05.02.2010 05.02.2010 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
Problem behoben lt. FixList in der Version | |
9.7.0.1 |