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



Hi Jeff,
What is the best method for sorting a subfile in ILE RPG.
Can I use QSORT and somehow point to the subfile space?

Not sure about "best", but I did do a benchmark a whole bunch of different
subfile sorting techniques in System iNEWS (err, at the time it was iSeries NEWS) magazine back in December 2005. If you have a copy of that issue, you might be interested to looking at the performance benchmark differences. QSORT and SORTA were by far the best performing options.

Or, if you have a ProVIP membership to the System iNetwork, you can read it here:
http://www.systeminetwork.com/article.cfm?id=20332

All of the code that I used for the benchmarks is available for download (for example, if you might be interested to see how to code the different sorts) you can find the code by going to the following link and selecting December 2005
http://www.systeminetwork.com/code

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.