When is it necessary to link-edit applications with Language Environment to run under Language Environment?
Under OS/VS COBOL, aren't some library routines always invoked dynamically, even if the OS/VS COBOL program is compiled with NORES? Do I need to link-edit with Language Environment in order for these library routines to be supported when running under Language Environment?
Yes, under OS/VS COBOL ILBOD01, ILBODBE, ILBOPRM, ILBOSND, ILBOSTN, and ILBOTC2 are always invoked dynamically (unless explicitly INCLUDED by link-edit). Language Environment provides support for these library routines, regardless of whether or not the program is link-edited with Language Environment.
Can OS/VS COBOL and VS COBOL II programs call Enterprise COBOL programs?
On non-CICS, any calls between OS/VS COBOL, VS COBOL II, and Enterprise COBOL are supported.
On CICS, Enterprise COBOL programs cannot call or be called by OS/VS COBOL programs. EXEC CICS LINK/XCTL must be used instead. Calls to and from VS COBOL II programs and Enterprise COBOL programs are allowed. For additional details, see the Enterprise COBOL Programming Guide.
For a complete list of calls between COBOL and assembler (including whether they are supported or not when running with Language Environment), see Runtime support for assembler COBOL calls on CICS .
Can OS/VS COBOL NORES load modules call and be called by Enterprise COBOL programs?
Enterprise COBOL load modules can call OS/VS COBOL NORES load modules, if the NORES load module has been link-edited with Language Environment. The OS/VS COBOL NORES load module must return control to the Enterprise COBOL load module.
It is possible to have a OS/VS COBOL NORES load module with "dynamic" calls (that is, using an assembler program that loads and branches) to an Enterprise COBOL program, which can then do a COBOL dynamic call to subsequent programs.
Can you convert programs selectively to Enterprise COBOL?
For non-CICS applications, yes, as long as you follow the rules for link-editing (documented throughout this book).
For CICS applications, you cannot mix OS/VS COBOL programs and Enterprise COBOL programs in the same run unit. When you convert applications containing OS/VS COBOL programs that use CALL statements and run under CICS, you must convert all of the OS/VS COBOL programs in the run unit to Enterprise COBOL, or use EXEC CICS LINK while doing selective conversion.