Coding in RPG (IBM i/AS400). Using a varying dimension array as a subprocedure parameter.

Опубликовано: 13 Март 2026
на канале: Christian Larsen
1,474
36

In this RPG example video, I show you how to use varying dimension arrays as subprocedure parameters using the option *varsize.
Also, I show you an example of how to fill this structure in a subprocedure with SQL.

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 #as400 #common #newfuntions #subprocedures #sqlrpgle

0:00 Introduction
0:20 Creating a new program with Visual Studio Code
0:45 Viewing the content of the table from inside Visual Studio Code
1:15 Creating a template
3:42 Creating the subprocedure with an array as a parameter
6:54 Filling the array with sql functions
9:34 Adding more code to my main procedure
13:00 Debugging into the green screen
16:45 Final comments and end