z/OS Language Environment Writing Interlanguage Communication Applications
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Fortran dynamically calling COBOL

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 COBOL or Fortran, and it can in turn statically call either a COBOL or Fortran routine. In the dynamically loaded module, a routine can dynamically call other COBOL or Fortran routines.

Neither a COBOL routine nor a Fortran routine can delete a dynamically loaded routine that was dynamically loaded in a Fortran routine.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014