Exchange/RJE Manual

Example Operations
Using the Exchange/RJE Command Interpreter
104698 Tandem Computers Incorporated 2–9
Using a Data
Communications Line on
Another System
This example uses a nonswitched data communications line on another system in an
EXPAND network of Tandem systems. This example starts a temporary line server on
the same system as the one on which the data communications line resides.
This example uses the RECEIVE command with the ALL parameter to receive a
number of data files from the remote system.
1. Start the Exchange/RJE command interpreter.
>RJECIR
2. Specify the data communications line and the location of the program file for the
temporary line server. (The name of the program file must be RJESV.)
>SET PROGRAM \PHAR.$SYSTEM.SYSTEM.RJESV, LINE \PHAR.$RJE1
3. Establish the connection with the data communications line.
>CONNECT 3780
This CONNECT command starts a send/receive server on the local system and
starts a temporary line server on the system \PHAR.
4. Receive an unknown number of files from the remote system, and place the
received data in a single file.
>RECEIVE TDATA, ALL
This RECEIVE command continues executing until you stop it by entering an
ABORT command. After each file is received, a message is displayed that
indicates the number of records received and other statistics about the file just
received.
Suppose you know that the last file to be sent contains exactly one record. You can
watch the messages and stop the RECEIVE command after receiving a file with
just one record.
5. Stop the RECEIVE command using the ABORT command.
>ABORT
6. Disconnect from the data communications line.
>DISCONNECT
This DISCONNECT command stops the send/receive server and the line server
on \PHAR.
7. Stop the Exchange/RJE command interpreter.
>EXIT