Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
![]() PL/I Dynamically calling Fortran z/OS Language Environment Writing Interlanguage Communication Applications SA38-0684-00 |
|
For PL/I to dynamically call a Fortran routine, the PL/I routine
must declare the Fortran entry point, such as in the following example:
PL/I could then dynamically call the Fortran routine with the
following code:
The dynamically called routine, whether Fortran or PL/I, can statically call another Fortran or PL/I routine. However, the dynamically called Fortran routine cannot contain a PL/I routine in the dynamically loaded module unless there was also a PL/I routine in a previously executed load module. 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). You cannot use the PL/I RELEASE statement to release a Fortran program. ![]() ![]() ![]() |
![]() |