Previous Topic Next topic Print topic


FLAGCD

Important: This Compiler directive is no longer available in Visual COBOL. Remove it from your code, otherwise you receive a COBCH0053 Directive invalid or not allowed here error.
When used in conjunction with the FLAG directive, FLAGCD flags any directive settings that would cause incompatibility with the specified dialect of COBOL.

Syntax:

>>-.---.-.--------FLAGCD--"severity"-.-----><
   +-/-+ +.----.--FLAGCD-------------+
          +-NO-+

Parameters:

severity
A literal showing the severity to assign to flag messages arising from conflicting directives.
S
Severe error
E
Error
W
Warning
I
Informational

Properties:

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

Comments:

If FLAGCD is specified with no parameters, the messages are assigned the severity given by the FLAGAS directive, if specified; if FLAGAS is not specified, they are produced as flagging messages.

Previous Topic Next topic Print topic