Handling a parameterized user-defined routine
For an introduction on how to determine input parameters,
see Determine unknown input parameters. This
section describes how to handle a parameterized user-defined routine
with a system-descriptor area. The following statements execute user-defined
routines:
- The EXECUTE FUNCTION statement executes a user-defined function (external and SPL).
- The EXECUTE PROCEDURE statement executes a user-defined procedure (external and SPL).
If a prepared EXECUTE PROCEDURE or EXECUTE FUNCTION statement has arguments specified as input parameters of unknown number and data type, your program can use a system-descriptor area to define the input parameters.