Compaq COBOL AAQ2G1FTK User Manual

Page 65

Advertising
background image

Developing Compaq COBOL Programs

1.3 Developing Programs on OpenVMS Alpha

Table 1–4 (Cont.) COBOL Command Qualifiers

Qualifier

Default

/RESERVED_WORDS=

"

[NO]200X
[NO]XOPEN
[NO]FOREIGN_EXTENSIONS

#

, . . .

/RESERVED_WORDS=(XOPEN,
NO200X,
NOFOREIGN_EXTENSIONS)

/SEPARATE_COMPILATION or
/NOSEPARATE_COMPILATION

/NOSEPARATE_COMPILATION

/SEQUENCE_CHECK or
/NOSEQUENCE_CHECK

/NOSEQUENCE_CHECK

/SOURCE[=filename.ext]

Source is filename.COB

/STANDARD=

2
6

6

4

85
[NO]MIA
[NO]SYNTAX
[NO]V3
[NO]XOPEN

3
7

7

5

,...

or /NOSTANDARD

/STANDARD=85

1

/TIE or /NOTIE

/NOTIE

/TRUNCATE or /NOTRUNCATE

/NOTRUNCATE

/VFC or /NOVFC

/VFC

/WARNINGS=

2
4

[NO]INFORMATION
[NO]OTHER
ALL

1

NONE

3
5

,...

or /NOWARNINGS

/WARNINGS=OTHER

1

This is the default keyword when using the named option with no keywords.

1.3.2.6 Common Command-Line Errors to Avoid

The following are some common errors to avoid when entering COBOL command
lines:

Omitting /ANSI_FORMAT for programs that are in ANSI format (AREA A,
AREA B, and so forth)

Including contradictory options

Omitting a necessary qualifier, such as /LIST if you specify /MAP

Omitting version numbers from file specifications when you want to compile a
program that is not the latest version of a source file

Developing Compaq COBOL Programs 1–35

Advertising