Calling a Stored Procedure
A client application typically executes a stored procedure
using the API function call EDARPC. The EDARPC function directly
calls one of the following:
- A compiled
program.
- A Dialogue
Manager procedure, which can call:
- A compiled
program, using the command CALLPGM or EXEC.
- A proprietary
RDBMS procedure, using SQL Passthru mode (where supported).
- An IMS/TM transaction,
using the CALLIMS or CALLIMSC procedure.
- Another Dialogue
Manager procedure, using the command EXEC.
The following figure shows calls to stored procedures from EDARPC
and Dialogue Manager.