In this video, I'd like to show you an example of how to use these two opcodes %MAXARR and %MINARR for searching the index of the maximum or minimum value inside a field on a dimensional array, in a very easy and fast way.
Please, let me know what you think about it. Leave your comments below.
Don't forget to subscribe!
#ibmi #ibm #rpg #rpgle #rpgfree #newvideo #ibmtraining #ibmcoding #rpgtraining #sqltraining #as400 #common #modernize #ibmchampion
0:00 Introduction
0:32 Starting with a simple program where I'm searching for a maximun value inside an array
2:01 Improving the program using %MAXARR and %MINARR
3:49 Debugging the program on the green screen
5:28 Final comments and ending