Exchange/RJE Manual

Example Operations
Using the Exchange/RJE Command Interpreter
104698 Tandem Computers Incorporated 2–7
3. Establish the connection with the data communications line, and specify the type
of emulation to perform.
>CONNECT 3780
The above CONNECT command starts the send/receive server and a temporary
line server.
4. Send the job to the remote system.
>SEND $DATA1.JOBS.J135C
If you do not specify otherwise in the SEND command, the record size is assumed
to be 80 bytes and the file is sent as normal text (as opposed to transparent text).
For a complete description of the SEND command, its parameters, and their
default values, see Section 3.
5. Receive the output produced by the job.
>RECEIVE $DATA1.RESULTS.OJ135C
Assuming the file $DATA1.RESULTS.OJ135C does not exist, an EDIT-format file is
created and the received data is written to it.
6. Disconnect from the data communications line.
>DISCONNECT
7. Exit from the Exchange/RJE command interpreter.
>EXIT
Using a Switched Line With
an Automatic Calling Unit
This example performs the same task as the preceding example except that a switched
(dial-up) data communications line is used instead of a nonswitched line. Also, an
automatic calling unit (ACU) is associated with the switched line and is used to dial
the telephone number of the remote system.
1. Start the Exchange/RJE command interpreter.
>RJECIR
2. Specify the data communications line and the associated ACU.
>SET LINE $RJE3, ACU $ACU3
3. Establish the connection with the data communications line, specify the type of
emulation to perform, and instruct the ACU to dial the remote system.
>CONNECT 3780, DIAL ‘202 555 1212’
The above CONNECT command starts the send/receive server and a temporary
line server.
4. Send the job to the remote system.
>SEND $DATA1.JOBS.J135C