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

RUNNING DRDA TRACE ON WINDOWS - TEMP DIR PERMISSION ISUES

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
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 Summary:
**************************************************************** 
* 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.
available fix packs:
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
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 9a 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 10 for Linux, UNIX, and Windows

Solution
changed ddcstrc/db2drdat to use different windows API to create 
temp file.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
25.08.2009
05.02.2010
05.02.2010
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.1 FixList