"Steve Richter" wrote:
The seemingly simple process of using a logical file in a program
can be confusing to the programmer who is looking at a program
for the first time.
You don't know what the based on physical is, the keyed order,
if records are selected or not, if there are multiple physical files in
the
logical or not, what fields are included in the logical. With SQL,
all of that info is in the code.
The traditional RPG pgm is almost assembler like with its individual i/o,
matching records of some kind, lots of conditional code that
selects and omits records, loads that data into arrays, ...
Once again Richter throws down the gauntlet...
I've written ONE matching record logic program in my career as an
RPG programmer (in 1985), only because my supervisor MADE me
use MR logic.
I'd like to see an example of what you're describing above-
You must be looking at some VERY old 'traditional' RPG code.
As usual, you're much like Mr. Odom...full of horse excrement.
- sjl
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.