CROSSREF Manual

CROSSREF COMMANDS
OBEY Command
OBEY COMMAND
The OBEY command reads commands from a specified file. The
syntax of the OBEY command is:
OBEY [ / OUT
file-name
/ ]
file-name
OUT
file-name
directs any output listing to the specified file.
However, error messages are also displayed at the
terminal if you are using CROSSREF interactively. For
additional information, see the description of the OUT
command in this section.
file-name
is a standard GUARDIAN file name.
Considerations
• If you do not fully qualify the file name, CROSSREF expands
the name using the currently set system, volume, and subvolume
names. These names can be inherited from the command
interpreter defaults or specified using the SYSTEM and VOLUME
commands.
• CROSSREF reads commands from the specified file and processes
them until it encounters an end-of-file. It then closes the
OBEY file, and command input reverts to the previous input
file.
• You can use an OBEY command within an OBEY file; you can nest
OBEY files up to a depth of four.
• If you change the default setting of SYSTEM or VOLUME in an
OBEY file, those settings remain in effect after you return
from the OBEY file. To return to the previous settings, you
must enter another SYSTEM or VOLUME command.
4-18