Subprocedures
One of the major enhancements of RPG IV in V3R2 and V3R6 was the ability to define multiple procedures per module. This chapter discusses how to use those procedures efficiently and also gives a working example on moving from subroutines to subprocedures easily.
The following topics are described in this chapter:
3.1 Subprocedure terminology

Get Who Knew You Could Do That with RPG IV? Modern RPG for the Modern Programmer now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.