Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

There's no current cursor - Error

$
0
0
Hello,

I'v an application that open one conection inside one while and close it a each interaction, for example:

While i=0 to 500
Open
Begin '' Start Transaction

.
. (Several operations like Inserts, Updates, Deletes etc)
.


Commit '' End Transaction
Close

End While


When I'v a small count (variable I) example: 100, the application work perfectly.


The problem occours when I try 500,600 interactions, appearing the error:"There's no current cursor "

I guess there are any configuration in onconfig, because I'm beliving that informix's droping connecting of my application for own "security"

Someone knows a way solve this problem ?

I tried open just one connection and open and close transactiosn in each interaction, but the result was worse.


Att,
Fernando.

Viewing all articles
Browse latest Browse all 13329