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



Willie,

If alot1 and abarcod are located side buy side as subfields in the array,
you could create a subfield covering the complete length of both subfields
and use this to sort:

D DS
D array DIM(100)
D alot1 15 OVERLAY(array:1)
D abarcod 13 OVERLAY(array:*NEXT)
D sortfield 28 OVERLAY(array:1)

Something like that.

Regards,
Carel Teijgeler


*********** REPLY SEPARATOR ***********

On 2-5-2012 at 7:32 Willie J. Moore wrote:

I have been asked to add a second sort field to a program.

It currently does the following:

sorta %subarr(alot1 : 1 : x)



Can I just add a second sorta %subarr?

sorta %subarr(alot1 : 1 : x)

sorta %subarr(abarcod : 1 : x)



Would this then sort alot1 first and then abarcod?




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.