Re: Cursors without Declare?
Posted in 1995
From Jonathan Leffler: > >One of the weirder parts of the pre-5.00 ESQL/C implementation is that >there was barely any distinction between cursors and statements. This is >one of the reasons why you only FREE either the cursor or the statement but >not both in pre-5.00 ESQL/C. By contrast, in post-5.00 ESQL/C, and >therefore in 6.0x I4GL too, there is a real distinction between the two, >and this leads to the problem you found. The lack of distinction in >pre-5.00 code is one of the reasons why you get a bunch of unused cursor >structures _SQn declared in the file. Are you saying that in 6.0x 4GL and future version that we will have to free both the cursor and the prepared statement? ------------------------------------------------------------------------------ Alan Goodman | Data Systems Support Senior Systems Analyst | A Client Technologies Company internet : alan@dssmktg.com | 1228 Shelly Ct. Voice 714-771-0454 Fax 714-771-3028 | Orange, CA 92668 USA ------------------------------------------------------------------------------