Fixes are available
APAR status
Closed as program error.
Error description
A DB2 .NET application may not be able to produce a result set when invoking a stored procedure that opens a scrollable cursor. . For example, the following sequence of operations may prevent the stored procedure result set from being processed: . DB2DataAdapter adp = new DB2DataAdapter("CALL TESTSP()", conn); DataSet dset = new DataSet(); adp.Fill(dset); . DataTable table = dset.Tables; foreach (DataRow row in table.Rows) { Console.WriteLine(); Console.Write(" "); foreach (DataColumn col in table.Columns) { Console.Write(" " +row[col.ColumnName]); } } . Note: this would not work if TESTSP() opened a cursor as a scrollable cursor.
Local fix
Change the stored procedure to not return a scrollable cursor.
Problem summary
Users Affected: Users of DB2.NET Problem Description: DB2.NET Application may not be able to return a result set from a Stored Procedure that opens a scrollable cursor Problem Summary: DB2.NET Application may not be able to return a result set from a Stored Procedure that opens a scrollable cursor
Problem conclusion
Problem first fixed in DB2 LUW Version 9.1 Fixpak 8 (s090823)
Temporary fix
Comments
APAR Information
APAR number
JR31959
Reported component name
DB2 CUE WINDOWS
Reported component ID
5724B6201
Reported release
910
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-02-09
Closed date
2010-01-18
Last modified date
2010-01-18
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
DB2 CUE WINDOWS
Fixed component ID
5724B6201
Applicable component levels
R910 PSY
UP
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910"}]
Document Information
Modified date:
07 October 2021