Come with me while we step through the code, discuss what it’s doing and why it’s doing it. I discovered someone else’s sample subfile template for an RPGLE program this morning. It looks quite nice, coded differently to my personal style so let’s (a) have a play with it, and see how it performs, then (b) modernize it to RPG /free and make some small tweaks to see if it can be improved: #IBMi #AS400 #iSERIES #RPG #RPGLE #SUBFILE
Then we can compile it. Fix any problems we find along the way and finally… hopefully… end up with a working program.
...