Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Fortran dynamically calling C z/OS Language Environment Writing Interlanguage Communication Applications SA38-0684-00 |
|
Dynamic calls are made in Fortran by specifying the name of the routine to be loaded with the DYNAMIC compiler option, and then using the same name in a CALL statement. The dynamically called routine can be either C or Fortran, and it can in turn statically call either a C or Fortran routine. (If the statically linked C routine is within a dynamically loaded module with a Fortran entry point, the C routine must be either nonreentrant or naturally reentrant.) In the dynamically loaded module, a routine can dynamically call other C or Fortran routines, regardless of whether the routines are reentrant. Neither a C nor a Fortran routine can delete a dynamically loaded routine that was dynamically loaded in a Fortran routine. |
Copyright IBM Corporation 1990, 2014
|