Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)
Compilation
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual—426750-001
7-8
COMPILE Command
If this command is omitted, TANDEM is the source text format.
COMPILE Command
The COMPILE command requests full compilation and production of an object file.
If this command and the SYNTAX command are omitted, COMPILE is assumed.
CROSSREF Command
The CROSSREF command causes a list of the SCREEN COBOL program identifiers to
be added to the compiled program output. The list is a cross-reference showing where
the identifiers are described, read, or written throughout the program. This command
contains a list of classes into which program identifiers are classified. Selections from
the class list determine the identifiers to be included in the cross-reference listing.
The NOCROSSREF command is the default and disables the CROSSREF command.
ONLY
requests information for just the classes specified.
INCLUDE
adds a class of identifiers to an existing class list.
EXCLUDE
deletes a class of identifiers from an existing class list.
class
is one of the following SCREEN COBOL identifiers:
Note. For programs that need to be executed using the Compaq Inspect debugging tool, the
SYMBOLS compiler command is required so that the compiler will pass the necessary
information to SYMSERV which stores the data in a symbol table file. If the ANSI compiler
command is also used, then the information for each line is identified by a set of line numbers
generated by the compiler. This set of numbers starts at one and is incremented by one for
each succeeding line. During an Inspect session, the line numbers from the source file are
used to access lines of source for the program. An incompatibility arises if these line numbers
are not the same as the line numbers used to identify the data via SYMSERV; wrong source
lines will be displayed for the SOURCE command in Inspect. Recompilation of the program
will avoid any problems in this area after the source file is resequenced by one.
COMPILE
{ CROSSREF [ ONLY ] [ class ] ... }
{ [ INCLUDE ] }
{ [ EXCLUDE ] }
{ }
{ NOCROSSREF }