×
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.
We are using Scott's IFS APIs to work with the IFS in RPG. I have an
application that loads a subfile from READDIR calls.
I am wondering if I'm missing an option to sort the results of multiple
READDIR calls by the object's modification date (descending). I imagine
any such option would need to occur prior to the first READDIR call, so I
looked at OPENDIR but there is no parameter defined to handle that.
So, I'm guessing I need to collect all of the READDIR calls into an array
or temp file and sort that before loading the subfile. But I just wanted
to make sure I wasn't missing something simpler. FWIW, I expect that the
number of entries retrieved will always be less than 100.
- Dan
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.