This morning I got question from an old RPG3 chum of mine:
I know a couple of questions they will ask me, what are the different parms used on sub-procedures like *OMIT/*Nopass. Didn’t we use those any way? I thought we were writing programs that did or did not necessarily get parms depending what called them using those keywords? To be honest, I know I can look it up but what the bloody hell is a sub-procedure?
Toby Schofield
My answer started off little then got into the huge waffling email stage.
Anyway, I just decided to copy/paste it here for future reference.
Bear in mind this is a very high level overview and not designed to get into the nitty-gritty of anything, but if it helps anyone out there then its #winning and that’s the purpose of this blog.
UPDATED JULY 2024
All these email conversations have been tidied up and added to the “Learn RPG” course here
RPG Programming for Beginners
RPG is the well known programming language on the IBM i platform. Earlier versions of RPG ran on the old AS/400 and iSeries machines in decades gone by… the beauty of RPG is that it is fully backwards compatible. But, over the years RPG has evolved massively!