DB2 - Problem description
Problem IC99419 | Status: Closed |
CLI-BASED APPLICATIONS RECEIVE SQL0501N AGAINST DB2 Z/OS WHEN STORED PROCEDURE CALL HAS MULTIPLE CURSORS | |
product: | |
DB2 CONNECT / DB2CONNCT / A50 - DB2 | |
Problem description: | |
A CLI-based application might receive an SQL0501N error against DB2 z/OS when a stored procedure call has multiple cursors. SQL0501N The cursor specified in a FETCH statement or CLOSE statement is not open or a cursor variable in a cursor scalar function reference is not open. When a stored procedure with multiple cursors opened is executed and when the server has closed only few of the cursors, the CLI driver wrongly assumes that server has closed on all the cursors for the stored procedure. The CLI driver then returns the error -501 to the application when the fetch statement is driven to the server after a partial bindout. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * CLI based application users connecting to DB2 z/OS * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 10.5 Fix Pack 4 or higher * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 10.5 Fix Pack 4 | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC99978 IT00607 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 17.02.2014 08.09.2014 07.04.2015 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.5.0.4 |