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



If I have understood you correctly, the manual agrees with you:

"Note: The ASCEND and DESCEND keywords cannot be specified for an array data structure."

Remember, the ASCEND/DESCEND keywords are "used to describe the sequence of the data" - they don't perform any sequencing themselves. You will need to SORTA the Data Structure Array yourself before using %LOOKUPxx BIFs. There are some good examples in the RPG IV Reference under the SORTA operation.

Brian.

On 02/12/2022 15:38, Vinay Gavankar wrote:
I think the key words here are "sequenced array". For that it must be
'defined' with Ascend or Descend. I don't know how to add that keyword on
data structure array (I get compile error).

Am I missing something?


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