Compiling and Storing a Subroutine

In this section:

After you write a subroutine, you need to compile and store it. This topic discusses compiling and storing your subroutine for z/OS.


Top of page

x
Compiling and Storing a Subroutine on z/OS

Compile the subroutine, then link-edit it and store the module in a load library. If your subroutine calls other subroutines, compile and link-edit all the subroutines together in a single module. Do not store the subroutine in the FUSELIB load library (FUSELIB.LOAD), as it may be overwritten when your site installs the next release of FOCUS.

If the subroutine is written in PL/I, include the following when link-editing the subroutine

ENTRY subroutine

where:

subroutine

Is the name of the subroutine.


Information Builders