×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I've always used 2 cursor names and it /else logic for my open, fetch and
close.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of James Rich
Sent: Friday, October 28, 2011 2:05 PM
To: midrange-l
Subject: SQL RPG question
I need to create one of two SQL statements conditionally, but when I try to
compile the source the compiler errors with:
SQL0051 30 289 Position 25 Cursor or procedure C1 previously
declared.
The source I'm working with is at:
http://code.midrange.com/37665d27b6.html
How do I conditionally create these SQL statements?
James Rich
if you want to understand why that is, there are many good books on the
design of operating systems. please pass them along to redmond when you're
done reading them :)
- Paul Davis on ardour-dev
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.