Back to Browse

Coding in RPG (IBM i/AS400). Using %LIST, %RANGE and IN

1.1K views
Oct 13, 2024
11:28

Let's talk about how to use the build-in functions %LIST and %RANGE with the operator IN. With %LIST we can define temporary array, with some values. With %RANGE, we can define a range of values. And we can use them with IN, if we need to know if a value is IN an array (or list, or subarray), or IN a range of values. I give you some examples of how can we use these great new functions of RPG. Hope you like! Enjoy! #ibmi #ibm #rpg #rpgle #rpgfree #newvideo #ibmtraining #ibmcoding #rpgtraining #sqlrpgle #sqltraining #as400 #common #modernize #IBMChampion 0:00 Introduction 0:16 The built-it function %LIST, definition and how to use it 1:36 The operator IN, how to use it with a %LIST. 3:25 How to make a NOT IN, while using a %LIST. 3:58 Comparing code with %LIST and without %LIST. 4:51 Talking about IN and how to use it with arrays. 6:41 The built-in function %RANGE, definition and how to use it 9:16 Using %RANGE with characters. 10:44 Final comments and ending

Download

0 formats

No download links available.

Coding in RPG (IBM i/AS400). Using %LIST, %RANGE and IN | NatokHD