Fortran Dynamically calling PL/I
For Fortran to dynamically call a PL/I routine, the Fortran routine
uses the same name in a CALL statement or function reference as is
specified on the DYNAMIC compiler option. In the Fortran routine, the
dynamically called PL/I routine (FORTPLI in the following example),
would be declared as follows:
@PROCESS DYNAMIC(FORTPLI)
In the PL/I routine, the Fortran calling routine is declared the
same as for a Fortran-to-PL/I static call, as follows:
FORTPLI: PROCEDURE (...) OPTIONS(FORTRAN);
The dynamically called routine, whether Fortran or PL/I, can statically call another Fortran or PL/I routine.
The dynamically called routine, whether Fortran or PL/I, can dynamically call another Fortran or PL/I routine. However, only two of the dynamically loaded modules can contain PL/I routines (including the load module dynamically loaded by the operating system or subsystem).
There is no Fortran facility to delete a dynamically loaded routine.