Re: are cursors global?
Posted in 1996
Informix 4 and prior releases only had static cursors. The best way to get around the problem is to upgrade to 5 or later. Yours, Jonathan Leffler (johnl@informix.com) #include <disclaimer.h> }From: Chris Turner <turner@grumpy.informix.com> }Date: 18 Jun 1996 19:35:04 GMT }X-Informix-List-Id: <news.25108> } }I remember several times while working with Infomix 5 and 7 }where I had problems related to the same cursor name being }opened for different purposes in several files of the same }executable. Now I'm writing a bit of code in Informix 4 and }would like to take advantage of this 'feature', except that }when I try to use a cursor declared in one file in a second }I keep getting an error } }esqlc: file "file_name", line 300: 'cursor_name' not declared. } }Is this a change between Informix 4 and the following generations, }or am I just imagining things? Does anyone know of a way to }get around this problem?