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


Compiling with Enterprise COBOL

Table 1 lists the Enterprise COBOL compiler options that have special relevance to converted programs.

Table 1. Key Enterprise COBOL compiler options for VS COBOL II programs
Enterprise COBOL compiler options Comments
PGMNAME If compiling with Enterprise COBOL, use the PGMNAME(COMPAT) option to ensure that program names are processed in a manner compatible with VS COBOL II (and COBOL/370).
RMODE Use RMODE(AUTO) or RMODE(24) for Enterprise COBOL NORENT programs that pass data to programs running in AMODE 24.
TEST The syntax of the TEST option is different in Enterprise COBOL than in VS COBOL II. The TEST option now has three suboptions; instead of specifying TEST, you now can specify a hook location, symbol-table location, and the destination for symbolic debug information.

TEST without any suboptions gives you TEST(ALL,SYM,NOSEPARATE). For more information on the TEST option, see the Enterprise COBOL Programming Guide.


Terms of use | Feedback

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