• Subject: RE: SFLINZ (or) SFLCLR
  • From: Bruce Guetzkow <bguetzkow@xxxxxxxxxxxxx>
  • Date: Tue, 25 Nov 1997 07:51:18 -0600

Interesting idea...you could do the same thing with a user index, too!
--Bruce

----------
From:   James W. Kilgore[SMTP:qappdsn@ibm.net]
Sent:   Monday, November 24, 1997 1:15 PM
To:     MIDRANGE-L@midrange.com
Subject:        Re: SFLINZ (or) SFLCLR



Bruce Guetzkow wrote:

> And you're right...subfiles are neat!  (If only they could be keyed...)

For what it's worth, you can build an index for a subfile.

Now if the subfile is being loaded in the order you would have indexed it, you 
can binary halve it, if not, as you write records to the subfile, also output 
entries to an indexed data queue containing the index data and subfile record 
number..

To retrieve a subfile entry, first set the key and read your data queue then 
use the record number to get your subfile record.

BTW, in the situation mentioned (data entry of text), we would write a screens 
worth +1 of blank records to the subfile (forces *MORE) and do same each time 
rollup was pressed.  Process all records of current screen to obtain blank 
lines (SFLNXTCHG will not read blank lines unless overkeyed).  We also added a 
field to the notes file for
print/display which contained a skip before value so we wouldn't have to store 
those blank lines.

JM2CW



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@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
+---



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@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
+---


This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2019 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].