REXX to LE : Invoking External Routines.
- CALL
There are two types of CALL available, the REXX instruction and the TSO Command.
- LINK
This is essentially a one-way process as data can be passed to the external routine, but the only information retrieved will be the return code. This is not discussed further.
- LINKMVS
This provides for two-way communication, and more over the size of the data returned can vary.
- LINKPGM
This provides for two-way communication, but the size of the data returned must match that of the input.
This method was chosen for the following examples as it was slightly easier, and hence quicker, to implement than LINKMVS.