COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

2002
Causes the compiler to apply the COBOL-2002 standard.
STANDARD 1985Default:
In the command linePlacement:
Applies to the compilation unitScope:
STANDARD 2002 is incompatible with the FIPS, and SUBSET directives. Whichever
directive is specified first takes effect; whichever is specified next causes the compiler
to issue a warning and has no other effect.
STANDARD 2002 is compatible with the BASED, ALLOCATE, and FREE features.
Dependencies:
References:
FIPS and NOFIPS
SUBSET (page 574)
“BASED Clause” (page 220)
ALLOCATE” (page 289)
“FREE” (page 333)
SUBSET
SUBSET causes the compiler to report in the output listing any source statement that contains syntax
that is obsolete or does not conform to the restrictions of a specified subset.
parameter-list
You cannot continue parameter-list onto subsequent lines, even if you enclose it in
parentheses.
parameter
HIGH
reports syntax not defined in the High subset of ISO/ANSI COBOL (NUC 2, SEQ 2,
REL 2, INX 2, IPC 2, STM 2), with respect to the required functional modules.
574 Program Compilation