IBM OS/390 User Manual

Page of 673
Figure 19. Compiler Options Comparison DOS/VS COBOL and COBOL for OS/390 and
VM
DOS/VS COBOL Option
COBOL for OS/390 and VM Equivalent (If Any)
B U F = n n n
BUFSIZE(nnn)
CATALR/NOCATALR
NAME/NONAME
CLIST/NOCLIST
OFFSET/NOOFFSET
COUNT/NOCOUNT
None
FLAGE/FLAGW
FLAG(E)/FLAG(W)
FLOW/NOFLOW
None
LANGLVL(1/2)
None. COBOL for OS/390 and VM supports only the
COBOL 85 Standard and COBOL 74 Standard (if
using CMPR2 option) as implemented by VS COBOL
II release 2.
L V L = A | B | C | D | N O L V L
None. COBOL ANSI 74 FIPS is not supported by
COBOL for OS/390 and VM.
MIGR/NOMIGR
None. Not required by COBOL for OS/390 and VM.
P M A P = h
None. Obsolete option.
SPACEn
SPACE(n)
STATE/NOSTATE
TEST
SUPMAP/NOSUPMAP
COMPILE/NOCOMPILE
STXIT/NOSTXIT
None. Function not required.
SXREF/NOSXREF
XREF(SHORT)
SYMDMP/NOSYMDMP
ABEND dumps and dynamic dumps are available
through Language Environment services. Symbolic
dumps are available using the TEST compiler option.
SYNTAX/CSYNTAX/NOSYNTAX
COMPILE/NOCOMPILE
VERB/NOVERB
LIST/NOLIST
VERBREF/NOVERBREF
VBREF/NOVBREF
VERBSUM/NOVERBSUM
VBREF/NOVBREF
DECK/NODECK(LISTER)
None. The LISTER feature is not supported.
COPYPCH/NOCOPYPCH
None. The LISTER feature is not supported.
LSTONLY/NOLSTONLY
None. The LISTER feature is not supported.
P R O C = 1 | 2 c o l
None. The LISTER feature is not supported.
12.8.1.2 Compiler Option Considerations for VS COBOL II
The VS COBOL II and COBOL for OS/390 and VM compile-time environments are
very similar. If you use the same compiler options that are specified in your
current VS COBOL II applications, some internal changes may take effect, but
basically the behavior is unchanged.
If you recompile your VS COBOL II applications with COBOL for OS/390 and VM
and change compiler option settings, you should understand the possible effects
on your applications. For information on compiler options with COBOL for OS/390
and VM see the 
COBOL for OS/390 and VM Programming Guide.
Figure 20 on page 262 lists the COBOL for OS/390 and VM compiler options that
have special relevance to programs converted from VS COBOL II.
Chapter 12. COBOL
261