/RESERVED_WORDS[=(option[,...])]
/RESERVED_WORDS=XOPEN (D)
Controls whether the compiler recognizes certain COBOL words as
reserved words.
You can select the following option:
[NO]XOPEN Controls whether or not the compiler recognizes
reserved words defined by the COBOL X/Open
Portability Guide. Use /RESERVED_WORDS=NOXOPEN
if your program uses one or more of the X/Open
reserved words as an identifier. The default is
/RESERVED_WORDS=XOPEN.
The X/Open reserved words are as follows:
AUTO FULL
BACKGROUND-COLOR HIGHLIGHT
BELL LOWLIGHT
BLINK REQUIRED
EOL RETURN-CODE
EOS REVERSE-VIDEO
ERASE SCREEN
FOREGROUND-COLOR SECURE
UNDERLINE
[NO]FOREIGN_EXTENSIONS
Controls whether or not the compiler recognizes
reserved words used by foreign extensions
(language constructs that are not part of HP
COBOL). Use /RESERVED_WORDS=FOREIGN_EXTENSIONS
if you want the compiler to output specific
diagnostics of foreign extensions to assist
you in porting to VSI COBOL from other COBOL
dialects. Do not use this option if your
program uses any of the foreign_extensions
reserved words as user-defined words.
The reserved words that are recognized for
foreign_extensions are:
ADDRESS OTHERWISE
CHANGED PASSWORD
CORE-INDEX POSITIONING
DBCS RECORDING
DISP RECORD-OVERFLOW
DISPLAY-1 RELOAD
EJECT REMARKS
ENTRY REORG-CRITERIA
EXAMINE RETURNING
EXHIBIT SERVICE
GOBACK SKIP1
ID SKIP2
KANJI SKIP3
NAMED TRACE
NOTE TRANSFORM
[NO]200X Controls whether or not the compiler recognizes
selected reserved words defined by the ANSI-200x
draft standard. Use /RESERVED_WORDS=NO200X if
your program uses one or more of these reserved
words as an identifier. The default is
/RESERVED_WORDS=NO200X.
The selected ANSI-200x draft standard reserved words
are as follows:
BINARY-CHAR FLOAT-LONG
BINARY-DOUBLE FLOAT-SHORT
BINARY-LONG OPTIONS
BINARY-SHORT SIGNED
COL SYMBOL
FLOAT-EXTENDED UNSIGNED