Interlanguage communication (ILC)
ILC is available with C/C++ and PL/I programs.
These are the differences in ILC behavior on the Windows workstation
compared to using ILC on the host with Language Environment:
- There are differences in termination behavior when a COBOL STOP RUN,
a C exit(), or a PL/I STOP is used.
- There is no coordinated condition handling on the workstation. Avoid using
a C longjmp() that crosses COBOL programs.
- On the host, the first program that is invoked within the process and that
is enabled for Language Environment is considered to be the “main” program. On Windows,
the first COBOL program invoked within the process is considered to be the
main program by COBOL. This difference affects language semantics that are
sensitive to the definition of the run unit (the execution unit that starts
with a main program). For example, a STOP RUN results in the return
of control to the invoker of the main program, which in a mixed-language
environment might be different as stated above.
related concepts
Preinitializing the COBOL runtime environment
|