Subroutine Parameters
Encore RPG allows parameters to be passed to subroutines (BEGSR). The EXSR op code may reference a DCLPLIST or be followed by a DCLPARM list. The BEGSR may be followed by a *ENTRY and DCLPARM list.
Subroutine parameters not only provide for powerful programming, but also facilitate the functionality of some events.