FLAG

Syntax:

>>-.---.-.-----FLAG-----"dialect"-.--------><
   +-/-+ +-NO--FLAG---------------+

Parameters:

dialect
A literal identifying the dialect.
ANS74 ANSI COBOL standard X3.23, 1974
ANS85 ANSI COBOL standard X3.23, 1985
BS2000 Siemens BS2000 COBOL
COBOL370 IBM COBOL/370
DOSVS IBM DOS/VS COBOL
ENTCOBOL IBM Enterprise COBOL
ISO2002 ISO2002 COBOL standard
MVS IBM MVS COBOL
MF Micro Focus
OS390 IBM OS390 COBOL
OSVS IBM OS/VS COBOL
SAA Full implementation of IBM's System Application Architecture definition of COBOL
VSC2 IBM VS COBOL II

Properties:

Default: NOFLAG (Dialect)
Phase: Syntax check
$SET: Any

Comments:

You cannot use DG, RM or MS as a dialect.

When creating a program that is to be fully ANSI'85 conforming, use:

ANS85 FLAG"ANS85"

and correct anything that causes a flagging message to be produced.