Exchange/RJE Manual

OBEY Command
Exchange/RJE Commands
3–30 104698 Tandem Computers Incorporated
OBEY Command The OBEY command executes a series of Exchange/RJE commands read from a file.
O[BEY]
command-file
command-file
is the file containing the Exchange/RJE commands that you want to execute. The
commands in the file are read and executed until the end of the file is reached, at
which point control returns to the Exchange/RJE command interpreter and you
can again enter commands interactively.
Typically,
command-file
is a standard EDIT-format text file. However, the
command-file can be any type of file, including another process. The maximum
length of a line (or record) in a command-file is 130 characters. (For EDIT-format
files, the limit applies to the text as you see it in an editor and not to the actual
record length. Records in an EDIT-format file include control characters in
addition to the text, which results in a record length longer than the length of the
text.)
If you omit the volume name, the default volume is your current default volume.
If you omit both the volume and subvolume names, the default volume and
subvolume are your current default volume and subvolume.
Line Activity None.
Considerations The OBEY command executes a sequence of Exchange/RJE commands read from the
specified file (the command file). By placing a commonly used sequence of commands
in a file, you can execute the complete sequence of commands with a single OBEY
command.
You can use the OBEY command within a command file.
Error Handling
If a command from the command file produces an error, an error message is displayed
and execution continues with the next command from the command file.
BREAK Key
If you press the BREAK key while a command file is executing, the execution of the
command file is suspended and control of your terminal is passed back to the
operating system command interpreter, which is usually TACL. You can then enter
commands, run other programs, and perform any operations that you can normally
perform from TACL.