|
Not really. You are limiting SQL. This allows a single table. What happens
if I need to join together three tables. With SQL, I just write the
statement or create a view.
There is a way to write these things that is high efficiency and multiple
tables but again why bother if you have SQL.
And the basic problem is here that if you are stuck in the past and still
using RLA instead of SQL why would you use procedures? You wouldn't. You
would avoid them like the plague. That's why IBM had to come up with OA.
Anything you can do in OA you can do as good or a lot better in a procedure
and a service program but IBM knew that most RPG programmers would never
use a procedure so they created OA.
Companies I used to work at I would write service programs but the
programmers demanded that I write a callable program wrapping the procedure
because they would not touch a procedure. Same thing were ever I have been.
As an Amazon Associate we earn from qualifying purchases.
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.