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


COBOL and PL/I

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

Language Environment supports ILC between routines compiled with Enterprise COBOL for z/OS, COBOL for OS/390 & VM, COBOL for MVS & VM, COBOL/370, or PL/I for MVS & VM or Enterprise PL/I for z/OS under CICS® as follows:
  • Enterprise COBOL for z/OS, COBOL for OS/390 & VM, COBOL for MVS & VM, and COBOL/370 programs can statically call PL/I routines.
  • PL/I routines can statically call Enterprise COBOL for z/OS, COBOL for OS/390 & VM, COBOL for MVS & VM, and COBOL/370 programs.
  • Enterprise COBOL for z/OS, COBOL for OS/390 & VM, COBOL for MVS & VM, and COBOL/370 programs can dynamically CALL PL/I routines that have OPTIONS(FETCHABLE) specified.
  • PL/I routines can FETCH Enterprise COBOL for z/OS, COBOL for OS/390 & VM, COBOL for MVS & VM, and COBOL/370 programs.
  • COBOL routines calling PL/I routines must pass EIB and COMMAREA as the first two parameters if the called routine contains any EXEC CICS commands.
  • PL/I routines calling Enterprise COBOL for z/OS, COBOL for OS/390 & VM, COBOL for MVS & VM, or COBOL/370 programs must pass the EIB and COMMAREA as the first two parameters if the called program contains any EXEC CICS commands.

For more information about ILC between COBOL and PL/I, see Communicating between COBOL and PL/I.

If there is any ILC with a run unit under CICS, each compile unit must be compiled with a Language Environment-conforming compiler.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014