× 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.



Consider having the array's first field being your sorting key. Just add the new entries at the end of the array and then use sorta and finish by loading the subfile with non-blank array elements; no need to fuss with a dynamic array.

On 12/31/2014 1:58 AM, x y wrote:
I appreciate the variety of solutions offered--thanks to all who took the
time to respond. My wish for a linked list was partially tongue-in-cheek
but it does have its uses (in many text editors, I believe). I'm a bit
surprised and disappointed that IBM never released an API to provide
greater control over subfiles but I'm not waiting for the announcement.

The variable-length array using LIKEREC appears to be the best solution. I
don't need any sorting capability--as I read through the subfile and load
the array, I can post the "insertions" and then reload the subfile directly
from the array. Since I'll be using this in a high-volume,
moderately-complex data entry application, every CPU cycle counts and I
avoid gold-plating.

Happy 2015!
--
Booth Martin<br>
www.martinvt.com<br>
(802)461-5349<br>
Skype: booth.martin<br><br>

In wisdom gathered over time I have found that every experience is a form of
exploration.
-- Ansel Adams

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.