Exchange/RJE Manual
RECEIVE Command
Exchange/RJE Commands
3–38 104698 Tandem Computers Incorporated
Considerations The RECEIVE command receives records from the remote system and appends those
records to the end of the specified file. Before you can use the RECEIVE command,
you must have established a connection between Exchange/RJE and the data
communications line by using the CONNECT command. For information on
establishing a connection, see the CONNECT command earlier in this section.
Block and Record Formats
The RECEIVE command accepts blocks of data from the remote system. Each block
can contain one or more records. (For block mode without blocking, each block
contains one record only.) Table 3-2 through Table 3-6 describe the block and record
formats accepted by each mode.
Table 3-2. 2780-Emulation Mode RECEIVE Command Block Formats
Normal-Text Block Format
All blocks except last: STX
record
[ EM ] [ ITB
record
[ EM ] ]... ETB
Last block: STX
record
[ EM ] [ ITB
record
[ EM ] ]... ETX
Maximum block size: 400 bytes (includes 1 byte each for STX and ETB/ETX)
Maximum record size: 146 bytes for the print file
80 bytes for the punch file
Records cannot contain any BSC control characters.
Transparent-Text Block Format
All blocks except last: DLE STX
record
[
record
]... ETB (for CP6100)
DLE STX
record
[ DLE STX
record
]... ETB (for Envoy)
Last block: DLE STX
record
[
record
]... ETX (for CP6100)
DLE STX
record
[ DLE STX
record
]... ETX (for Envoy)
Maximum block size: 400 bytes (includes 1 byte each for STX and ETB/ETX)
Record size: 397 (maximum), fixed-length, for the print file
80 bytes, fixed-length, for the punch file
Records can contain any character (bit pattern).
Note that for transparent-text block format, all DLEs other than the first DLE are
deleted from the received data by the underlying communications subsystem.
Therefore, these DLEs do not appear in Exchange/RJE trace data (or in a data file
written when RAWDATA is specified). (A DLE as data is sent as DLE DLE, and only
the first DLE is removed.)