In this RPG example video, I'm showing the improvements we get by using subprocedures instead of subroutines with an example.
Please, let me know what you think about it. Leave your comments below.
#ibmi #ibm #rpg #rpgle #rpgfree #newvideo #ibmtraining #ibmcoding #rpgtraining #as400 #common #newfuntions #subprocedures #subroutines
0:00 Introduction
0:14 Example program with subroutine
1:32 Starting converting the subroutine into a subprocedure
2:15 Adding input parameters to the subprocedure
3:39 Adding a return value to the subprocedure
4:10 Declaring a structure template to use with the subprocedure
6:40 Changing the main procedure
8:10 Checking how it works in a debug session into the green screen
10:27 Final comments and ending