× 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: Re: file access problem.....
  • From: "M. Lazarus" <mlazarus@xxxxxxxx>
  • Date: Wed, 02 Aug 2000 18:10:33 -0400

Scott,

At 8/2/00 02:22 PM -0500, you wrote:

You're right that you can add more than one record with the same key
because it's non-unique.
But, using CHAIN to access your file, you will always get the first record
added because it's relative record number is lower - records in a keyed
physical file are "sorted" by the relative record number within each key value.


But if you reuse deleted records, then I imagine this may not be the case?

 This is true.  The only way IBM will guarantee the sequence in this case is if you specify *FIFO or *LIFO (is there another attribute?), even though you will *usually* get *FIFO results w/o specifying it.

 -mark

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.