Program Communication

Whether a program is called by EDARPC or CALLPGM, a control block is used for communication between the server and the program.

The program is called repeatedly until it indicates that it is done by supplying the correct value in the field action_value in the control block on return to CALLPGM.

For more information, including the specific values to be returned in an action_value, see Writing a 3GL Compiled Stored Procedure Program.

The process is illustrated below.


iWay Software