COBOL Manual for TNS and TNS/R Programs

Program Compilation
HP COBOL Manual for TNS and TNS/R Programs522555-006
11-127
SUBSET
Usage Considerations:
Invalid SUBSET Directives
If a SUBSET directive appears in an invalid context, the compiler issues an
appropriate message and, after analyzing the directive, ignores it and cancels the
effect of any previously accepted SUBSET directive (since an error has occurred).
Upon the occurrence of any error, the compiler cancels any active SUBSET
directive and discards any messages not yet issued.
Messages
After the compiler has processed a separately compiled program that contains
unauthorized syntax (but no actual errors), it displays the message
*** The preceding program does not conform to the specified subset ***
and then describes each nonconforming element.
Each reported instance of nonconformance or obsolescence identifies the context
of the syntax, describes its location in the source text, and characterizes the syntax
as “obsolete” or “nonconforming.” If an instance is both obsolete and
nonconforming, only “obsolete” is reported. A message has either of these forms:
context
is a header (such as “Data Division header”), statement (such as “ADD
statement”), clause (such as “LINAGE clause”), or the general phrase “Source
text.”
nnnnn
is a five-digit line number.
xx
is a two-digit column number.
level
is HIGH, EXTENDED, DEB1, SEG1, or SEG2, as appropriate.
Syntax on line nnnnn at column xx is defined in level
includes the location phrases only if they differ from the information in the first line.
context on line nnnnn at
column xx contains obsolete syntax
Syntax on line nnnnn at column xx is defined in level
context on line nnnnn at
column xx contains nonconforming syntax
Syntax on line nnnnn at column xx is defined in level