Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Using external functions and subroutines z/OS Using REXX and z/OS UNIX System Services SA23-2283-00 |
|
You can call external functions and subroutines from a REXX program that resides in the z/OS® UNIX file system. The search path for an external routine is similar to that used for a REXX program that is invoked from a z/OS shell or from a program. If only the filename is used on the call to the function or subroutine, the PATH environment variable is used to locate it; otherwise, the function name determines the search. For an executable module, the link pack area (LPA), link list, and STEPLIB can also be searched. The default z/OS environment searches for executable modules first. See Customizing the z/OS UNIX REXX environment. The search order for modules and execs that are invoked as functions or subroutines is controlled by the FUNCSOFL flag in the REXX parameter module. For a description of that flag, see z/OS TSO/E REXX Reference. The following rule must be observed in naming and calling an external
function or subroutine:
|
Copyright IBM Corporation 1990, 2014
|