Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Compiler and Runtime Migration Guide


OS/VS COBOL considerations

Table 1 lists all the possible combinations of multiple load modules for OS/VS COBOL programs. In the following table, if the load module has multiple programs, the main program is listed first.

Table 1. Support for applications with multiple load modules OS/VS COBOL
Main module Submodule Support for Link-edit entire application with LanEnv required
OS/VS COBOL NORES 1

Enterprise COBOL only
Enterprise COBOL and IBM COBOL
Enterprise COBOL
   and IBM COBOL
      or VS COBOL II RES only
OS/VS COBOL RES only
OS/VS COBOL NORES only
Enterprise COBOL and OS/VS COBOL RES
Enterprise COBOL
      and OS/VS COBOL NORES
OS/VS COBOL RES and OS/VS COBOL NORES

No
No


No
No
Yes
No

No
No

n/a
n/a


n/a
n/a
No2
n/a

n/a
n/a4

OS/VS COBOL RES All combinations

Yes

Yes3

Enterprise COBOL All combinations

Yes

Yes3

Enterprise COBOL and OS/VS COBOL RES All combinations

Yes

Yes3

OS/VS COBOL RES and Enterprise COBOL All combinations

Yes

Yes3

Enterprise COBOL and OS/VS COBOL NORES All combinations

Yes

Yes3

OS/VS COBOL NORES and Enterprise COBOL All combinations

Yes

Yes3

OS/VS COBOL RES and OS/VS COBOL NORES All combinations

No4

n/a

OS/VS COBOL NORES and OS/VS COBOL RES All combinations

No4

n/a

Enterprise COBOL and OS/VS COBOL RES and OS/VS COBOL NORES All combinations

Yes

Yes3

OS/VS COBOL RES and OS/VS COBOL NORES and Enterprise COBOL All combinations

Yes

Yes3

OS/VS COBOL NORES and OS/VS COBOL RES and Enterprise COBOL All combinations

Yes

Yes3

Notes:
  1. A load module that contains only OS/VS COBOL NORES programs can access submodules only if it uses an assembler program to load or link to the submodule.
  2. Existing OS/VS COBOL programs that are compiled with NORES and that do not use ISAM run without change and provide the same results as before. You do not need to link-edit these programs with Language Environment; however, you will not be able to get IBM service support for these NORES applications unless you link-edit them with Language Environment.
    ISAM: Support was dropped by DFSMS with z/OS V1.7.
  3. Link-editing with Language Environment is not required when the submodule contains only OS/VS COBOL RES programs.
  4. Load modules that contain OS/VS COBOL programs compiled with RES and OS/VS COBOL programs compiled with NORES are not supported unless you include an Enterprise COBOL program or certain CSECTs. For details, see Applications with COBOL programs compiled with RES and NORES.

All combinations is synonymous with the different combinations of programs that the submodule can consist of (as listed next to OS/VS COBOL NORES at the beginning of the table).


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)