You can use either static or dynamic linking of Open PL/I applications. The Open PL/I run-time library is built as a static library (.lib). The ldpli link-step uses the static version of the Open PL/I run-time library by default. To link,
use
ldpli -dll [options…]
You also need to add to the command one of the options below:
- -mvs - for programs executed under the control of JCL.
- -ims - for programs executed under the control of IMS.
- -cics - for programs executed under the control of CICS.
To link an Open PL/I program, use either mfplx or ldpli.
- mfplx compiles and links in one step, automatically invoking ldpli if the -c option is not used. For the use of mfplx, see the section
mfplx Syntax
.
- ldpli references the components that were installed with this version of Open PL/I and is the recommended link command when using mfpli.