|
SORTA is definitely out as I'm using a BASED multi-occurrence data
structure. Use of the %SORTA built in function is, unfortunately, also out
since we are on V4R1.
Donald R. Fisher, III
Project Manager
The Roomstore Furniture Company
(804) 784-7600 extension 2124
DFisher@roomstoreeast.com
<clip>
Is a different structure out of the question? I've had great results with
Datastructure Arrays.
D DS
D $RptFilter Dim(20) Ascend
D $FiltVar 5A Overlay($RptFilter:1)
D $FiltCnd 2A Overlay($RptFilter:*Next)
D $FiltVal 25A Overlay($RptFilter:*Next)
Once data is loaded, you can sort on any subfield...
C SortA $FiltCnd
sorts the datastructure into ascending order by the $FiltCnd subfield.
I prefer this to MODS most of the time now.
<clip>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.