|
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
other stuff.
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...
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: Charles Wilt <charles.wilt@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
"RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Date: 12/01/2015 09:09 AM
Subject: LVLCHK(*NO) - Looking for a Techdoc on why this is a bad
idea (x-posted to RPG & MIDRANGE)
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
All,
I'm looking for a bigger stick than my own knowledge to use to beat some
sense into a vendor with regards to the use of LVLCHK(*NO).
Is anybody aware of a authoritative document on the subject?
I'd assume such a document would also go into the alternative solution of
"logical file access only" whereby all native RLA I/O is done via logical
files with explicit formats.
Thanks!
Charles
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
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.