CROSSREF Manual

RUNNING CROSSREF
Interactive Mode
Interactive Mode
CROSSREF operates in interactive mode when you omit both the IN
file-name
option and the
command-list
parameter from the CROSSREF
command.
When run in interactive mode, CROSSREF sends the following
product banner to the terminal:
CROSSREF - CROSS-REFERENCE PROGRAM-T9622C00-(15JUL87)
Copyright Tandem Computers Incorporated 1982, 1983, 1985, 1986
T9622C00 is the product number and version of CROSSREF.
(15JUL87) is the release date for this version of CROSSREF.
CROSSREF also displays the name of the system you are using at
the end of the banner.
CROSSREF then displays an ampersand (&) prompt to indicate that
it is ready to receive commands. When you enter a command,
CROSSREF executes the command or displays an error message. It
then displays another ampersand and waits for additional input.
This procedure continues until you enter an EXIT command or press
CTRL/Y, the End-of-File (EOF) command.
You can enter more than one CROSSREF command in response to
the prompt (&), but you must separate multiple commands with
semicolons. For example, the following two sets of commands,
which tell CROSSREF to scan the file named PROGRAM and generate a
listing to the file named CROSS1, are equivalent:
&SCAN program; GENERATE /OUT cross1/
&SCAN program
&GENERATE /OUT cross1/
CROSSREF executes commands one at a time from left to right.
If CROSSREF encounters an error, it stops processing the command
line. CROSSREF, however, executes all commands up to the point
of the error.
You can continue commands for more than one line by typing a &
at the end of the line. CROSSREF prompts for the remainder of
the line before executing the command. When CROSSREF receives
a line without an ampersand at the end, it executes the command
immediately.
Command lines, continued or not, cannot exceed 528 characters.
2-3