aspose file tools*
The moose likes JDBC and the fly likes Cursor *N not open Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Cursor *N not open" Watch "Cursor *N not open" New topic
Author

Cursor *N not open

Srikanth Kumar
Ranch Hand

Joined: Jun 04, 2008
Posts: 36
I have a problem while executing query on DB2 on mainframe form java program.

When i am doing this i get an exception saying "Cursor *N not open."

Below is the code used


Srikanth Kumar
SCJP 5, SCWCD 5, SCDJWS 5
Wendy Gibbons
Bartender

Joined: Oct 21, 2008
Posts: 1106

are you 100% certain that data is being returned.

and could you provide the exact error number from the database, and the line of java that is causing the error.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cursor *N not open
 
Similar Threads
How to force cursor to update
embedded SQL in legacy C code --- fetch issue
Error in jdbc while executing procedure
Cannot get Oracle CURSOR from Oracle procedure
What am i doing wrong here? ( Stored Procedure REF CURSOR Problem)