× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Logical Files vs. Physical Keys
  • From: Kaynor@xxxxxxx
  • Date: Thu, 23 Mar 2000 22:45:34 EST

Chris,
The reasons you give for keying the physical can be achieved by using the 
UNIQUE keyword on a logical.  Keeping your physicals unkeyed is arguably 
better because of the flexibility it provides.  
--Chapin Kaynor
  Vermont

Date: Wed, 22 Mar 2000 16:14:58 -0800
From: Chris Bipes <rpg@cross-check.com>
Subject: RE: Logical Files vs. Physical Keys

I personally like to assign the unique key to the physical.  That way you
can never get duplicate key values into your physical and you can always
make sure you update the correct record.  If the index get damaged on a
physical you can rebuild it by copying the file to a temporary lib and then
back again.

Christopher K. Bipes     mailto:ChrisB@Cross-Check.com
Sr. Programmer/Analyst   mailto:Chris_Bipes@Yahoo.com
CrossCheck, Inc.     http://www.cross-check.com
6119 State Farm Drive    Phone: 707 586-0551 x 1102
Rohnert Park CA  94928 Fax: 707 586-1884

If consistency is the hobgoblin of little minds, only geniuses work here.
Karen Herbelin - Readers Digest 3/2000


- -----Original Message-----
From: Bob Entwistle [mailto:bentwist@famousfootwear.com]
Sent: Wednesday, March 22, 2000 3:16 PM
To: MIDRANGE-L@midrange.com
Subject: Logical Files vs. Physical Keys




When we started out on the AS400 11 years ago, a decision was made to always
use
logical files and never use physical keys (index) on all of our files.  At
this
point, this is being reevaluated and no one seems to remember why physical
keys
were seen as a bad thing.

Anyone able to give a short synopsis of the tradeoffs between the two?  Any
downsides to using physical keys or indexes?

Bob

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.