Exchange/RJE Manual
Operational Considerations
Using the Exchange/RJE Command Interpreter
2–4 104698 Tandem Computers Incorporated
With the OBEY command, you can enter commands interactively before and after the
commands in the command file are executed. This lets you use command files to
perform partial tasks, such as setting up a standard configuration, as well as complete
tasks.
For a detailed description of the OBEY command, see Section 3.
Error Handling with Command Files
When a command file contains a command that causes an error when executed, the
command interpreter displays the error message and then continues with the next
command in the command file. An error does not terminate the execution of the
command file. However, certain errors may prevent other commands in the command
file from executing correctly. For example, if a CONNECT command fails, all
subsequent SEND and RECEIVE commands will also fail.
The BREAK Key
If you press the BREAK key while a command file is executing, 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.
To return to the Exchange/RJE command interpreter, enter the TACL PAUSE
command. The PAUSE command returns control of your terminal to the
Exchange/RJE command interpreter, and execution of the command file continues
from where it left off. For more information about the PAUSE command, see the
TACL Reference Manual.
Command-File Format
Typically, command files are standard EDIT-format text files. However, command
files 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.) Blank lines are ignored
and can be included in a command file to improve readability. You can use the
COMMENT command to include documentation in your command files. See the
COMMENT command in Section 3 for information.