Exchange/SNA Manual

Example Operations
Using the Exchange/SNA Command Interpreter
2–12 104700 Tandem Computers Incorporated
Example Operations This subsection provides examples of how to send files to and receive files from a host
system using the Exchange/SNA command interpreter. These examples do not
explain the commands in detail, but merely show how the commands are used
together to perform typical operations. For a detailed description of each command,
refer to Section 3. Also, these examples do not show the messages displayed by the
command interpreter.
Starting a New Line Server This example shows the minimum requirements needed to start a new line server with
a specified name and then to send a single file to the host system.
1. Start the Exchange/SNA command interpreter:
> RJECIS
2. Specify the required configuration parameters and name the line server:
>SET LOGON $DATA1.HOST1.RLGN, HOST JES2, LINE $SNAX1.#LU1
>SET NAME $L1SV
3. Start the line server and establish a connection with it:
>CONNECT
4. Send the file to the host system:
>SEND $DATA1.HOST1.JOB1:#RD1
The above SEND command uses default values for all parameters except the file to
be sent and the associated subdevice.
5. Disconnect from the line server:
>DISCONNECT
6. Exit from the Exchange/SNA command interpreter:
>EXIT
Using an Existing Line
Server
This example shows the minimum requirements needed to use an existing line server
to receive a file from the host system.
1. Start the Exchange/SNA command interpreter:
> RJECIS
2. Specify the name of the existing line server:
>SET NAME $L1SV
3. Establish a connection with that line server:
>CONNECT !
The exclamation point with the CONNECT command means that the
configuration parameters need not agree with the configuration of the line server.
As long as the name specifies an existing line server, the connection is established.