Exchange/RJE Manual
Example Operations
Using the Exchange/RJE Command Interpreter
2–8 104698 Tandem Computers Incorporated
5. Receive the output produced by the job.
>RECEIVE $DATA1.RESULTS.OJ135C
6. Disconnect from the data communications line.
>DISCONNECT
7. Exit from the Exchange/RJE command interpreter.
>EXIT
Using an Existing Line
Server to Send Binary Data
This example uses an existing line server, called $SRV1, to send binary data to a
remote system over a nonswitched data communications line. Binary data is any data
other than ASCII or EBCDIC data; it can be, for example, bit-mapped graphic images
or floating-point numbers.
1. Start the Exchange/RJE command interpreter, and specify the line server and the
data communications line it uses. Note that you could also specify the line server
and the data communications line using the SET command.
>RJECIR SERVER $SRV1, LINE $RJE1
2. Establish a connection with the data communications line, and specify the type of
emulation to perform.
>CONNECT 3780
This CONNECT command does not start a new line server; it uses the existing line
server $SRV1. However, if the line server $SRV1 did not exist, the CONNECT
command would create it.
3. Send the binary data to the remote system.
>SEND BINDAT, NOTRANSLATE
The NOTRANSLATE parameter sends the data as transparent text and suppresses
the translation from ASCII to EBCDIC. For a complete description of the
NOTRANSLATE parameter and the TRANSPARENT parameter (which does not
suppress translation), see the SEND command in Section 3.
4. Disconnect from the data communications line and exit from the Exchange/RJE
command interpreter in a single step.
>EXIT
The EXIT command also performs a disconnect operation if a connection still
exists (as it does in this case). The line server $SRV1 remains after the EXIT
command is executed (because it is named, not temporary) and can be used again
at a later time.