DB2 - Problembeschreibung
Problem IC87862 | Status: Geschlossen |
XML INPUT STORED PROCEDURE/UDF WITH PARAMETER MARKER AND REOPT ALWAYS ENABLED CAN RETURN SQL0901N | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problembeschreibung: | |
The following error may be returned to an application calling a UDR or UDF : SQL0901N The SQL statement failed because of a non-severe system error. Subsequent SQL statements can be processed. (Reason "QGM internal error: xpath does not have context qnc!".) SQLSTATE=58004 This happens when REOPT ALWAYS was enabled when the procedure was created ( via SYSPROC.SET_ROUTINE_OPTS('REOPT ALWAYS') ) and when one of the input parameters is of data type XML. There will be a trap file produced as well with the following callstack : sqloDumpEDU sqldDumpContext sqlrr_dump_ffdc sqlzeDumpFFDC sqlzeSqlCode sqlnn_erds sqlnq_xp_merge_xpaths sqlnr_merge_compute_boxes sqlnr_merge_and_create_mep sqlnr_xq_native_optprep sqlnr_optprep sqlnr_optprep_action sqlnr_comp sqlnr_seq sqlnr_rcc sqlnr_exe sqlnn_cmpl | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 101 fix pack 2 * **************************************************************** | |
Local-Fix: | |
Do not use REOPT ALWAYS for stored procedures that match the criteria of this apar. Recode the application to avoid using XML input parameters. | |
verfügbare FixPacks: | |
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows | |
Lösung | |
Problem is fixed in DB2 version 101 fix pack 2 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 04.11.2012 16.01.2013 16.01.2013 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
Problem behoben lt. FixList in der Version | |
10.1.0.2 | |
10.5.0.2 |