"they royally screwed up by doing a 'select * into :fileds' kind of logic."
This is what happens when programming knowledge comes from a book instead of
the real world.
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Sent: Tuesday, December 01, 2015 8:19 AM
To: Midrange Systems Technical Discussion
Subject: Re: LVLCHK(*NO) - Looking for a Techdoc on why this is a badidea
(x-posted to RPG & MIDRANGE)
Your last paragraph is a huge thing. Granted, I'm not a big fan of each
program having their own logical as the access path overhead could get
huge but each logical that is created should explicitly select the columns
listed, even if it is all columns that are currently in the table.
Infor does this with their logical files and that makes adding columns to
the base tables easier. Not that everything they do is to be used as the
guiding example as they use no constraints of any kind and a bunch of
Infor did follow the SQL guide and when they used SQL instead of RLA they
do access the base tables. This wouldn't have been a bad thing but they
royally screwed up by doing a 'select * into :fileds' kind of logic. Never
do a select *. Now when you add new columns to the base table you have to
recompile all programs that do this.
And when you start thinking about adding columns with special
characteristics like 'implictly hidden' and what not, argh...
This mailing list archive is Copyright 1997-2019 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