Close (Option T Only); Open (Option T Only) - IBM 5100 Communications Manual

Hide thumbs Also See for 5100:
Table of Contents

Advertisement

3.
After each section of the message is written and/or printed, the 5100 returns
the auto response text as a complete line to the remote system to prompt
transmission of the next section of the message. The auto response text is
not printed or written on tape as part of the received message.
4.
Transmission ends when:
a. The 5100 receives less than four lines.
b. You hold down the shift key and press ATTN.
c. A tape or printer error occurs.
If less than four lines are received, the data is not automatically written or
printed so that error messages are not printed or written on tape. If you must
save this data, start the edit operation and use the write or print key.
~CLOSE
(OPTION T ONLY)
The
~CLOSE
command makes the tape on the specified tape unit unavailable for
further data transfer and completes writing the data to an output file.
You must
use the
~CLOS£
command to close an output tape,
or data may be lost from both
the cartridge removed from the tape unit and the next cartridge inserted. The
syntax of the
~CLOSE
command is:
&CLOSE JEBol
-
LE40J
£80 specifies the built-in tape unit and £40 specifies the auxiliary tape unit.
~OPEN
(OPTION T ONLY)
The
~OPEN
command makes the file on the specified tape unit available for data
transfer. The syntax of the
~OPEN
command is:
IN, OUT,
or
ADD
specifies the type of tape file:
• IN
specifies that messages will be transmitted from the tape.
• OUT
specifies that messages will be written on tape, starting at the beginning of
the file. The messages written on tape are determined by the
~OUTSEL
command.
OUT destroys data previously written on the specified file even if no new data is
written to the file.
• ADD
is the same as the OUT parameter except the messages are written
following the last existing data on the file and always use at least 512 character
positions.
file number
specifies the file number.
£80 specifies the built-in tape unit and £40 specifies the auxiliary tape unit.
Communications Commands
15

Advertisement

Table of Contents
loading

Table of Contents