[Info-vax] Indexed file read question

Dave Froble davef at tsoft-inc.com
Wed Nov 18 12:40:05 EST 2020


On 11/18/2020 11:35 AM, abrsvc wrote:
> On Wednesday, 18 November 2020 at 11:20:54 UTC-5, Stephen Hoffman wrote:
>> On 2020-11-18 15:23:13 +0000, abrsvc said:
>>
>>> Situation: Indexed file with 2 keys, the first key no duplicates,
>>> second key no duplicates. For clarity, the first key is a record
>>> number and the second key is one of 4 values: A,B,L or blank.
>> With only four records possible, why is this even a file? Which
>> implies there *are* duplicates on the secondary?
>>
>>
>> --
>> Pure Personal Opinion | HoffmanLabs LLC
>
> I have over simplified the situation just to provide a context for the question.  This is just one of many questionable practices wihtin this code system.
> More time is spent opening and closing files with singular records than anything else.  I am not in a position to change this, I am just trying to assist with understanding how the current system works.
>
> Update:  There are duplicates for the second key.
>

Ok, then there can be but one record for each unique primary key.

Each record can have a secondary key of A, B, L, or blank.

That's it.

-- 
David Froble                       Tel: 724-529-0450
Dave Froble Enterprises, Inc.      E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA  15486



More information about the Info-vax mailing list