Exchange/RJE Manual
RECEIVE Command
Exchange/RJE Commands
3–32 104698 Tandem Computers Incorporated
RECEIVE Command The RECEIVE command receives records from the remote system and appends them
to the specified file.
REC[EIVE] [
print-file
| (
print-file
,
punch-file
) ]
[
parameter
]...
print-file
is the name of the file where you want to write the records received from the
remote system. If the file does not exist, an EDIT-format file is created. If the file
already exists, the new records are appended to the end of the file.
For 2780- and 3780 emulation modes, the maximum record size that can be
received for the print file is 146 bytes (144 bytes plus 2 bytes of carriage-control
escape codes).
For block mode without blocking, or block mode with 2780 blocking, the
maximum record size that can be received for the print file is the specified block
size.
For block mode with 3780 blocking, the maximum record size that can be received
for the print file is the specified block size minus 1.
For all modes, if a record is received that is larger than the record size of the print
file, that record is truncated.
If you do not specify a print file, the records received are written to the print file
last specified in a RECEIVE command. If you have not specified a print file in a
previous RECEIVE command, an error message is displayed and the receive
operation is not started.
If you omit the volume name, the default volume is your current default volume.
If you omit both the volume and subvolume names, the default volume and
subvolume are your current default volume and subvolume.
punch-file
is the name of the file where you want to write the punch data received from the
remote system. If the file does not exist, an EDIT-format file is created. If the file
already exists, the new records are appended to the end of the file.
The maximum record size that can be received for the punch file is 80 bytes. If a
record is received that is larger than the record size of the punch file, that record is
truncated. If a record is received that is smaller than the record size of the punch
file, that record is padded with blanks. If a record for the punch file begins with a
stacker-selection escape sequence, the escape sequence is removed from the record
before the record is written to the punch file.