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


Restriction

z/OS Language Environment Writing Interlanguage Communication Applications
SA38-0684-00

When a COBOL program dynamically calls a Fortran routine, the dynamically loaded module can contain only routines written in those languages that already exist in a previous load module. (The routine in the previous load module need not be called; it only needs to be present.) For a Fortran routine to be recognized, ensure that at least one of the following is present in a previous load module:
  • A Fortran main program
  • A Fortran routine that causes one or more Fortran runtime library routines to be link-edited into the load module. If the Fortran routine contains either an I/O statement, a mathematical function reference, or a call to any Fortran callable service (such as CPUTIME), then a library routine is included, and this requirement is satisfied.
  • The Fortran signature CSECT, CEESG007. Use the following linkage editor statement to include CEESG007 if neither of the two previous conditions is true:
    INCLUDE SYSLIB (CEESG007)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014