CROSSREF Manual

CROSSREF COMMANDS
Examples
• The use of the identifier class flags varies from language
to language. See the appropriate language section for more
information.
• All compilers require that a semicolon precede the directive
string specified in the startup message. If you do not
include the preceding semicolon in a SET DIRECTIVES command,
CROSSREF puts one in for you.
• Every language has one or more constructs that are defined
but never referenced, for example, the BASIC IMAGE statement
and the FORTRAN COMMON block. You must set UNREF ON to have
unreferenced identifiers appear in the CROSSREF listing.
Examples
The following example tells CROSSREF that the file it should scan
is a COBOL 74 file:
&SET LANGUAGE COBOL
The next example sets all identifier classes ON:
&SET CLASS * ON
The next example sets the LITERALS class ON:
&SET CLASS LITERALS ON
4-40