× 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.



>What is the best reference for using the
>language for RPG/ILE, and where can I find it?

I can't really say anything about 'best'; I'd bet any of the books at
http://www.midrange.com (our host) would be worth buying.  I myself learnt
SQL in the dark ages and can't remember what the stumbling blocks were
anymore.  Basically, there's not much difference between using embedded SQL
in RPG or Cobol or even ReXX.  I don't know that there's much 'special'
stuff you need in RPG to use SQL aside from /exec sql and /end-exec.  There
are some FAQ entries that might help, but it's thin.

The key thing I think is to remember that SQL likes to deal with blocks of
records and not singles.  So I would not try to replace CHAINs with FETCHes
'just because I can.'  Rather, think of places where you might have a
SETLL/READE loop and replace that with a single UPDATE.  Something along the
lines of tagging all the records between 010101 and 123101 as 'ready to
archive'.
  --buck


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-2024 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.