How to sort an array in descending in RPG
Answer Posted / surya siram
While declaring the array in the rpgle program, use the key word "DESCEND" and then use the bif SORTA (Sort array) to sort the array in descending order.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Interviewer asked me write down DDS for load all subfile .can anybody write dds
how can you display specific subfile page on the screen in unequal subfile?
what is a rpg?
what is the difference between do while and do until?
what do you mean by an input subfile, what are the keywords required?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
how do I declare a minor?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
how do you use commitment control in rpg?
What is file identifier where we can use?
When it is desirable to describe files Internally?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
are there any useful c runtime apis that I can call from rpg iv?
how do I preserve and clean the array?