Calling a Program as a Stored Procedure

Topics:

The following are ways to call a compiled program. You can use:

  • The EDARPC API function to call CALLPGM.
  • Either the CALLPGM command or the EXEC command in a procedure.

Any of these methods enables you to pass parameters to programs and Dialogue Manager procedures.

CALLPGM is also known as the Procedural Program Adapter, and by such language-based terminology as COBOL Adapter and RPG Adapter. Once the source language is built, the interface is agnostic of the underlying original language.


iWay Software