|
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 differentsubfile 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=20332All 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 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.