These are the steps to compile and link Open PL/I programs for execution under the control of JCL.
mfplx –deb –defext –mvs –dll opdemo.pli –o /home/hub/nxopdemo/debug/OPDEMO.so
ld -shared -o /home/hub/nxopdemo/debug/OPDEMO.so opdemo.o $MFPLI_PRODUCT_DIR/lib/dllmain.o $MFPLI_PRODUCT_DIR/lib/noofm.o $MFPLI_PRODUCT_DIR/lib/nojw.o -melf_i386 -lmf -L$MFPLI_PRODUCT_DIR/libThis will compile and link opdemo.pli. Files copy to /home/hub/nxopdemo/debug.
mfplx –deb –defext –mvs –dll opdemo.pli –o /home/hub/nxopdemo/debug/OPDEMO.so