i hear a lot of "using the same keys" talk....why not just have a single
LF with those keys? if you need more fields in the key list then do some
due diligence BEFORE creating the LF and make the full key then use
partial key lists in the RPG programs. i shudder when i see 5+ LFs with
the same 2 key fields over and over (yes you might need additional LFs for
change of "sub" key fields...)but really why add unnecessary complexity??
Thanks,
Tommy Holden
From:
Mike Cunningham <mcunning@xxxxxxx>
To:
"'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx>
Date:
03/13/2008 07:58 AM
Subject:
RE: Are we insane? Unique use of native DB2
Many LFs each with an access path attached is bad and you are right,
before the days of the system automatically sharing an access path you
could kill a system real easy doing what we are doing but shared access
path has taken care of that.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [
mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Thursday, March 13, 2008 8:14 AM
To: Midrange Systems Technical Discussion
Subject: Re: Are we insane? Unique use of native DB2
I did see a vendor application where they accessed only by the logicals.
The original LF may have had all fields. As the file got Y2K'd the
original LF only held the same fields as it used to. Granted, the dates
were shrunk back down to 6 characters or numbers so that existing programs
that touched this didn't need to be recompiled. If you wanted the full
dates, etc, you used one of the newer logical files.
However, they didn't use a separate LF on each program. I can still
remember John Sears lectures on the evil of too many LF's. Then I
remember an artical in iSeries 400 Experts Journal by Skip M that most of
the overhead of all those LF's was pretty much done away with several
releases ago.
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
--
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.