×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Dan,

All you need to do is close the cursor prior to your prepare.

Matt

-----Original Message-----
From: Dan Bale [mailto:dbale@xxxxxxxxxxxxx]
Sent: Wednesday, September 15, 2004 11:12 AM
To: RPG400-L@xxxxxxxxxxxx
Subject: different iterations of SQL run statements in same program


Getting confused by the FM...

New RPG interactive application that allows user to specify selection of
data, and am using SQL w/ PREPARE to accomplish of displaying results back
to user.  User may choose to reselect any number of times.  Since I need to
run different iterations of the SQL statement, do I need to do anything
special to "drop" the previous SQL cursor before I can do the next one?
Maybe C
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.