Use FLAGSTD to specify the level or subset of Standard COBOL 85 to be regarded as conforming, and to get informational messages about Standard COBOL 85 elements that are included in your program.
You can specify any of the following items for flagging:
FLAGSTD option syntax .-NOFLAGSTD-----------------. >>-+---------------------------+------------------------------->< '-FLAGSTD(x-+----+-+----+-)-' '-yy-' '-,O-'
Default is: NOFLAGSTD
Abbreviations are: None
x specifies the subset of Standard COBOL 85 to be regarded as conforming:
yy specifies, by a single character or combination of any two, the optional modules to be included in the subset:
If S is specified, N is included (N is a subset of S).
O specifies that obsolete language elements are flagged as "obsolete."
The informational messages appear in the source program listing, and identify:
FLAGSTD requires the standard set of reserved words.
In the following example, the line number and column where a flagged clause, statement, or header occurred are shown, as well as the message code and text. At the bottom is a summary of the total of the flagged items and their type.
LINE.COL CODE FIPS MESSAGE TEXT
IGYDS8211 Comment lines before "IDENTIFICATION DIVISION":
nonconforming nonstandard, IBM extension to
ANS/ISO 1985.
11.14 IGYDS8111 "GLOBAL clause": nonconforming standard, ANS/ISO
1985 high subset.
59.12 IGYPS8169 "USE FOR DEBUGGING statement": obsolete element
in ANS/ISO 1985.
FIPS MESSAGES TOTAL STANDARD NONSTANDARD OBSOLETE
3 1 1 1
|
related references
Conflicting compiler options