Exchange/SNA Manual
Example Operations
Using the Exchange/SNA Command Interpreter
2–14 104700 Tandem Computers Incorporated
Sending Multiple Files This example uses an existing line server to send three files to the host as a single data
stream.
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 !
4. Send the first file to the host system:
>SEND $DATA1.HOST1.JOB1A:#RD1, END DEFER
The END DEFER parameter is used to suppress the sending of an end-of-file
character to the host at the end of JOB1A.
5. Send the second file to the host system:
>SEND $DATA1.HOST1.JOB1DAT:#RD1, END DEFER
Again, the END DEFER parameter is used to suppress the sending of an end-of-
file character to the host at the end of JOB1DAT. The subdevice used in this SEND
command must be the same subdevice that was specified in the first SEND
command.
6. Send the third and last file to the host:
>SEND $DATA1.HOST1.JOB1Z:#RD1, END IMMED
The END IMMED parameter, which is the default setting for END and thus could
be omitted, is used to send an end-of-file character to the host, which signals that
this is the end of the data stream. The subdevice used in this SEND command
must be the same subdevice that was specified in the previous SEND commands
for this data stream.
7. Disconnect from the line server:
>DISCONNECT
8. Exit from the Exchange/SNA command interpreter:
>EXIT