This appendix describes how to interface applications to REXX or extend the REXX language by using REXX application programming interfaces (APIs). As used here, the term application refers to programs written in languages other than REXX. Commonly this is the C language. Conventions in this appendix are based on the C language. Refer to a C programming reference manual if you need a better understanding of these conventions.
The features described here let an application extend many parts of the REXX language or extend an application with REXX. This includes creating handlers for subcommands, external functions, and system exits.
Subcommands
Subcommand, function, and system exit handlers have similar coding, compilation, and packaging characteristics.
In addition, applications can manipulate the variables in REXX programs (see Variable Pool Interface), and execute REXX routines directly from memory (see Macrospace Interface).