Learn how to use a prototyped call, an alternative to an ILE RPG sub-procedure, to call one program from another
by David Shirey
Editor’s Note: This article is excerpted from chapter 8 of 21st Century RPG: /Free, ILE, and MVC, by David Shirey.
In some situations, when using an ILE sub-procedure in your program, you may want to write the sub-procedure up as a small program and then call it from another program. Granted, that is not technically a sub-procedure, but we will let that go for the moment and concentrate on the call of one program by another.