IBM OS/390 User Manual

Page of 673
Figure 20. Recommended COBOL for OS/390 and VM C o m p i l e r Options for Converted VS
COBOL II Programs
COBOL for OS/390 and
VM Option
Comments
PGMNAME(COMPAT)
If compiling with COBOL for OS/390 and VM use this option to
ensure that COBOL for OS/390 and VM processes program
names in a similar manner as VS COBOL II.
RMODE(AUTO)
Use RMODE(AUTO) or RMODE(24) for COBOL for OS/390 and
VM NORENT programs that pass data to programs running in
AMODE(24).
TEST
The syntax of the TEST option is different in COBOL for OS/390
and VM than in VS COBOL II. The TEST option now has two
suboptions; instead of specifying TEST, you now can specify a
hook location and symbol-table location.
TEST without any suboptions gives TEST(ALL,SYM). For more
information on the TEST option, see 
COBOL for OS/390 and VM
Programming Guide .
WORD(NOOO)
Use WORD(NOOO) if your existing programs use any of the
object-oriented reserved words. For a list of these words, see
Figure 26 on page 265.
Figure 21 on page 263 lists VS COBOL II compiler options that are not available
in COBOL for OS/390 and VM. In some cases the function of the VS COBOL II
option is mapped to a COBOL for OS/390 and VM option. This is described in the
comments column.
262
VSE to OS/390 Migration Workbook