Exchange/RJE Manual

Step-by-Step Instructions
Using the Exchange/RJE Programmatic Interface
104698 Tandem Computers Incorporated 4–9
8. Perform the operation.
9. Disconnect from the data communications line.
10. Close the line server.
Each step is explained in detail below.
Step 1: Start the Line
Server
Before your program can use the programmatic interface, the line server must be
started. There are three ways to start the line server:
Use the CONNECT command from the command interpreter.
Use the RJESV command from the operating system command interpreter.
Call the NEWPROCESS procedure from your program.
Each of these three ways is explained below.
Using the CONNECT Command
Your programs can use a named line server that was started by the command
interpreter’s CONNECT command. To start a named line server from the command
interpreter, specify a name for the line server with the SET SERVER command (or in
the RJECIR command) and then execute a CONNECT command. If all you want to do
is to start the line server, issue the EXIT command immediately after the CONNECT
command. This will implicitly DISCONNECT from the line and exit from the
command interpreter. For more information about starting the line server from the
command interpreter, see Section 2.
Using the RJESV Command
Your program can use an line server that was started by the RJESV command. The
RJESV command is an implied RUN command that starts a named line server. (The
RJESV command cannot start a temporary line server.) The command interpreter can
also use a line server that was started by the RJESV command. For a detailed
description of the RJESV command, see Section 5.
The following example shows the minimum RJESV command required to start a line
server that will be used for 2780 or 3780 emulation.
>RJESV /NAME $MYSV, NOWAIT/ LINE $RJE1
The above RJESV command starts a line server named $MYSV that uses the $RJE1 data
communications line. This line server can be used for 2780 and 3780 emulations, but
not for block-mode operations.
The RJESV command can also be used to start a line server for block mode operations.
For example, the following RJESV command starts a line server named $BSRV that
uses the $RJE2 data communications line for block mode without blocking.
>RJESV /NAME $BSRV, NOWAIT/ LINE $RJE2, BLOCKSIZE 2048
The BLOCKING parameter is not used, therefore the default value of BLOCKING OFF
is assumed.