Exchange/RJE Manual
Operational Considerations
Using the Exchange/RJE Command Interpreter
104698 Tandem Computers Incorporated 2–3
You can use the SHOW command to determine whether a send or receive operation is
in progress. When a send or receive operation is completed, the command interpreter
displays a message that shows the number of records transferred.
The BREAK Key If you press the BREAK key while using the Exchange/RJE command interpreter,
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. For more information about the PAUSE
command, see the TACL Reference Manual.
Using Command Files Instead of entering commands interactively at the Exchange/RJE command
interpreter’s prompt, you can enter a sequence of commands in an EDIT-format file
and then have the command interpreter read and execute the commands in that file.
Such a file of Exchange/RJE commands is called a command file.
To perform a given operation, the same sequence of commands is used whether you
are entering the commands interactively or using a command file. The same rules
govern the use of the command interpreter and the allowed sequence of operations.
There are two ways to read and execute a command file:
The IN option in the RJECIR command, which is the command to start the
Exchange/RJE command interpreter
The OBEY command
Each of these methods is discussed below.
The IN Option
If you use the IN option when initially running RJECIR, the Exchange/RJE command
interpreter reads all its input from the specified command file. When the end of the
command file is reached and all outstanding send and receive operations are
processed, the command file executes an implicit EXIT command; the command
interpreter stops and control returns to the operating system command interpreter
(usually TACL). This is an orderly exit, allowing Exchange/RJE to do necessary
cleanup.
The IN option does not let you enter any commands interactively. Therefore, it is
suitable only for use with command files that perform a complete task and are self-
contained. If the task you want to perform requires any interactive use of the
command interpreter, you must use the OBEY command.
The OBEY Command
After you have started the Exchange/RJE command interpreter, you can use the OBEY
command to read and execute the commands in a command file. When the end of the
command file is reached, control is returned to the Exchange/RJE command
interpreter.