DB2 - Problem description
| Problem IC72982 | Status: Closed |
QUERY COMPILER INCORRECTLY RETURNS SQLCODE -101 WHEN IT SHOULD NOT. | |
| product: | |
DB2 FOR LUW / DB2FORLUW / 910 - DB2 | |
| Problem description: | |
Under rare conditions, the query compiler might return sqlcode -101 when it should not. A db2trc flw output shows one of the following functions sqlno_find_jp_hash_table or sqlno_do_insert_qpt in the call stack when function sqlno_alloc_aub receives return code SQLO_NOMEM_STMTH from the functions it calls. | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * Under rare conditions, the query compiler might return * * sqlcode * * -101 when it should not. * * * * * * * * A db2trc flw output shows one of the following functions * * * * sqlno_find_jp_hash_table or sqlno_do_insert_qpt in the call * * * * stack when function sqlno_alloc_aub receives return code * * * * SQLO_NOMEM_STMTH from the functions it calls. * **************************************************************** * RECOMMENDATION: * * Review 970 parent APAR IC72906, and/or the children APAR(s) * * of IC72906, to determine the product version containing the * * fix. * **************************************************************** | |
| Local Fix: | |
It is possible that a small increase in the STMTHEAP setting will allow the statement to compile without experiencing the -101 error. | |
| Solution | |
This problem will be fixed in a future version of DB2. | |
| Workaround | |
See local fix. | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 02.12.2010 12.12.2010 12.12.2010 |
| Problem solved at the following versions (IBM BugInfos) | |
9.7.0 | |
| Problem solved according to the fixlist(s) of the following version(s) | |