Exchange/RJE Manual

SEND Command
Exchange/RJE Commands
3–54 104698 Tandem Computers Incorporated
Considerations The SEND command transmits records from the specified file to the remote system.
Before you can use the SEND command, you must first have established a connection
between Exchange/RJE and the data communications line using the CONNECT
command. For information on establishing a connection, see the CONNECT
command earlier in this section.
Block and Record Formats
The SEND command reads records from the send file one at a time. The records are
assembled into blocks of one or more records for transmission to the remote system.
(For block mode without blocking, each block contains one record only.) Table 3-8
through Table 3-12 describe the block and record formats accepted by each mode.
Table 3-8. 2780-Emulation Mode SEND Command Block Formats
Normal-Text Block Format
All blocks except last: STX
record
[ ITB
record
]... ETB
Last block: STX
record
[ ITB
record
]... ETX
Maximum block size: 400 bytes (includes 1 byte each for STX and ETB/ETX)
Maximum record size: 144 bytes
Records less than 80 bytes in length have an EM character appended to them unless you specify
DROPEM in the SEND command.
Records cannot contain any BSC control characters.
Transparent-Text Block Format
All blocks except last: DLE STX
record
[
record
]... ETB
Last block: DLE STX
record
[
record
]... ETX
Maximum block size: 400 bytes (includes 1 byte each for DLE, STX ,and ETB/ETX)
Record size: 80 bytes, fixed-length, for all files
Records can contain any character (bit pattern).
Note that for transparent-text block format, all DLEs other than the first DLE are
inserted in the block by the underlying communications subsystem. Therefore, these
DLEs do not appear in Exchange/RJE trace data. (A DLE as data is sent as DLE DLE.
The additional DLE is inserted by the underlying communications subsystem.)