IBM Support

JR33528: DB2.NET APPLICATION MAY NOT BE ABLE TO RETURN A RESULT SET FROM A STORED PROCEDURE THAT OPENS A SCROLLABLE CURSOR.

Subscribe

You can track all active APARs for this component.

 

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 Version 9.5 fixpak 5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR33528

  • Reported component name

    DB2 CUE WINDOWS

  • Reported component ID

    5724B6201

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-06-29

  • Closed date

    2010-01-18

  • Last modified date

    2010-01-18

  • APAR is sysrouted FROM one or more of the following:

    JR31959

  • 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

  • R950 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
18 January 2010