DB2 - Problembeschreibung
Problem IC82676 | Status: Geschlossen |
DRDA HAS EXTRA SQLCARD WITH DB2_DEFERRED_PREPARE_SEMANTICS=YES | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
A delete statement in java returned 3 sqlca messages. Here is a snippet of java program. System.out.println("executeUpdate() = " + stmt.executeUpdate()); sqlwarn = stmt.getWarnings(); while (sqlwarn != null) { System.out.println("Warning description: " + sqlwarn.getMessage()); sqlwarn = sqlwarn.getNextWarning(); } $ db2set DB2_DEFERRED_PREPARE_SEMANTICS=YES DB2COMM=TCPIP $ ~/sqllib/java/jdk64/bin/java delete jdbc:db2://192.168.1.161:60000/sample db2inst1 db2inst1 executeUpdate() = 0 Warning description: DB2 SQL Warning: SQLCODE=0, SQLSTATE=01504, SQLERRMC=null, DRIVER=4.12.55 Warning description: DB2 SQL Warning: SQLCODE=0, SQLSTATE=01504, SQLERRMC=null, DRIVER=4.12.55 Warning description: DB2 SQL Warning: SQLCODE=100, SQLSTATE=02000, SQLERRMC=null, DRIVER=4.12.55 If unset DB2_DEFERRED_PREPARE_SEMANTICS, sqlca messages return 2 entries. 2 entries are expected behavior. $ db2set DB2COMM=TCPIP $ ~/sqllib/java/jdk64/bin/java delete jdbc:db2://192.168.1.161:60000/sample db2inst1 db2inst1 executeUpdate() = 0 Warning description: DB2 SQL Warning: SQLCODE=0, SQLSTATE=01504, SQLERRMC=null, DRIVER=4.12.55 Warning description: DB2 SQL Warning: SQLCODE=100, SQLSTATE=02000, SQLERRMC=null, DRIVER=4.12.55 DRDA has extra SQLCARD with DB2_DEFERRED_PREPARE_SEMANTICS=YES Therefore getNextWarning() get extra SQLCARD. This is not JCC issue, DB2 engine issue. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 UDB version 9.7 fix pack 7. * **************************************************************** | |
Local-Fix: | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows | |
Lösung | |
Problem was first fixed in DB2 UDB Version 9.7 Fix Pack 7. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC87843 Nachfolger : | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 16.04.2012 05.11.2012 05.11.2012 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP7 | |
Problem behoben lt. FixList in der Version | |
9.7.0.7 |