home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC62187 Status: Geschlossen

DB2LSNTOSTRING RETURNING ERROR 'OSS_PRI16X64' : UNDECLARED
IDENTIFIER

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
When attempting to use the db2LsnToString() API routine in a 
user created program, the compilation of the program will fail 
with an error stating that OSS_PRI16X64 is an undeclared 
identifier. The actual text of the error message will vary 
according to the compiler and platform used. The following is a 
Windows example produced by the Microsoft Visual Studio C 
compiler: 
 
error C2065: 'OSS_PRI16X64' : undeclared identifier 
 
Currently, db2LsnToString() API routine is defined in db2ApiDf.h 
in the following way: 
 
#define db2LsnToString(_inLsn, _outStr) \ 
         sprintf(_outStr, OSS_PRI16X64, (_inLsn).lsnU64) 
 
The problem is that 'OSS_PRI16X64' is an internal DB2 symbol 
whose definition is not shipped.
Problem-Zusammenfassung:
see APAR
Local-Fix:
Redefine db2LsnToString() in the following way: 
 
#define db2LsnToString(_inLsn, _outStr) \ 
  sprintf(_outStr, "%016X", (_inLsn).lsnU64)
verfügbare FixPacks:
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

Lösung
Problem first fixed in DB2 UDB 9.7 FixPak 1
Workaround
see APAR
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
23.07.2009
22.12.2009
22.12.2009
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.
Problem behoben lt. FixList in der Version
9.7.0.1 FixList