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, creating a non-shared executable, use
ldpli MODULE1.o [MODULE2.O [MODULEn.o]] [options…]
To link an Open PL/I program, use ldpli, unless you want to create a Sharable Object, in which case you should use the ld command. For more information, see Creating a Sharable Library.