Pathway/iTS SCREEN COBOL Reference Manual (H06.10+, J06.03+)
Compilation
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual—426750-003
7-8
COMPILE Command
Lines longer than 80 characters are truncated; shorter lines are padded with trailing
blanks. The positions following Margin R (columns 73 through 80) form the
identification field. This field, which can contain any ASCII characters, is treated as a
comment and has no effect on the meaning of a program.
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.
Note. For programs that need to be executed using the HP
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 }










