× 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 guess I'll be using RLA then. :)


On Tue, Apr 17, 2018 at 1:20 PM, John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:

On Tue, Apr 17, 2018 at 12:01 PM, Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:
SQL RLA doesn't offer any advantages over RPG RLA...I'd go so far as to
say
that SQL RLA is at a disadvantage compared to RPG RLA.

I agree that SQL RLA *within RPG* is at a disadvantage overall
compared to RPG's "native" RLA. But even so, I wouldn't say SQL RLA
has *no* advantages. It does potentially simplify things if you need
to filter or sort or use SQL functions that don't have equivalent BIFs
in RPG, and it's usually robust against changes to the underlying
file. To some extent, SQL affords you the ability to choose files
dynamically, which you can't do with plain RPG.

In other words, SQL can sometimes take the place of extra CLPs and
extra LFs, and sometimes even extra RPG programs or service programs.
I think some people would definitely consider this an advantage for
SQL, even when the logic is fundamentally RLA.

If we talk about SQL *outside* of RPG, then of course the game changes
considerably, because most other host languages don't have any native
RLA at all. Usually SQL is the only meaningful way to interact with
database tables, whether RLA or not.

John Y.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.