Function calls to and from COBOL modules

The Fortran ILC rules apply to programs that contain interlanguage calls between C/370™ and COBOL, unless you relink them with the C/370 V2R1 or V2R2 library that has the PTF for APAR PN74931 applied. This PTF replaces the C/370 V2R1 and V2R2 link-edit stubs so that they tolerate Language Environment® service calls. After your application is relinked using the modified C/370 V2R1 or V2R2 stubs, you can run the application with any of the following runtime environments:
  • C/370 V2R1 runtime library
  • C/370 V2R2 runtime library
  • Language Environment runtime libraries
If you run applications with interlanguage calls (ILC) to or from COBOL without applying the PTF for APAR PN74931 and then relinking the C/370 programs that contain the ILC, be aware of the following constraints:
  • You can run those applications with z/OS® V2R2 only after they are relinked.
  • You cannot continue to run those applications with the C/370 library after they are relinked.