CROSSREF Manual
RUNNING CROSSREF
Noninteractive Mode
Noninteractive Mode
CROSSREF operates in noninteractive mode when you specify either
the IN
file-name
or the
command-list
parameter in a CROSSREF run
command.
The following command directs CROSSREF to execute the commands
in the EDIT file named COMMS and to send the output to the file
named LISTING:
13> CROSSREF /IN comms, OUT listing/
CROSSREF terminates when it reaches the end of the file or when
it encounters an EXIT command in the IN file. CROSSREF then
returns control to the command interpreter.
The same rules apply to command lines in a command file that
apply to command lines that you enter from the terminal:
• Multiple commands can appear on a single line when they are
separated by semicolons.
• Command lines can be continued by placing an ampersand (&) at
the end of the command line.
• Command lines cannot exceed 528 characters.
EXAMPLES OF CROSSREF OPERATION
The remainder of this section provides examples of CROSSREF
operation. The examples in "Single-Language Program" show how
to produce a listing for a program coded in a single language.
The example in "Multi-Language Program" shows how to produce a
listing for a program coded in two languages.
See Section 4 for a complete explanation of the CROSSREF commands
used in these examples.
2-4