Einzelnen Beitrag anzeigen

REMOLUS

Registriert seit: 4. Jul 2005
1 Beiträge
 
#5

Re: Fehler beim speichern geänderter Memofelder

  Alt 4. Jul 2005, 14:03
Hallo zusammen,

auf der UDB2 funktioniert es wohl,
aber anhand der Fehlermeldung gehe ich davon aus, dass
dies eine DB2 auf einer As400 oder iseries ist gell?

UDB2<> DB2 AS400 !!

Habe da leider entsprechende Erfahrungen gemacht.
Zum Thema ich hatte letzte Woche das gleiche Problem.
Greife mit DBExpress/D7.01/ und den AS400 Treiber von
Peter Sawatzki auf die Datenbank zu.


http://www.sawatzki.de

Lösung 1:
Server Patchen
(V5R3 PTF SI18398)

Fix für dieses Problem.

ftp://ftp.software.ibm.com/as400/pro...5r3m0/servicep
ack/si18398


oder

Lösung 2:
...
wenn Sie V5R3 einsetzen kann ich Ihnen auch den Fix geben, den IBM mir vorab
gab, als das PTF noch nicht erhältlich war bzw. die betreffende Datei aus
V5R3. Im Client Access/iSeries Access in cwbdb.dll ist eine
Warnungssituation nicht korrekt abgehandelt, die in der Folge dazu führt,
dass fälschlich die API bestimmte Attribute ignoeriert. Dies wirkt sich u.a.
auch auf LOBs aus.

Siehe hierzu den Auszug aus den Fixes von PTF SI18398:

" APAR SE19493: CA400EXP-INCORROUT CWBDB APIs not using extended formats
The customer's application uses the cwbDB APIs. If a general
server warning (return code 6407) occurs when cwbDB_StartServer
is called, the cwbDB APIs fail to set the "use extended formats"
in the initial server attributes. This results in errors or
incorrect behavior when executing statements that require the
extended formats. Errors could include incorrect handling of
LOB data, incorrect handling of the ROWID data type, and
incorrect handling of any other type of data that requires the extended
formats.

CIRCUMVENTION:
Examine the host server job (QZDASOINIT) joblog for warnings and
errors that occur when your connection is opened. Take action
to ensure the warnings or errors are resolved and no longer occur.
"

PS: Mit der BDE hat der Zugriff ohne den Patch funktioniert.

Alles ohne Gewähr.

Bei läuft jetzt Lösung 2 ohne Probleme.

Gruss Remolus
  Mit Zitat antworten Zitat