Marking Your Media - IBM 5110 Basic Introduction

Table of Contents

Advertisement

42
Marking Your Media
To prepare a tape or diskette with one file of any size, or several files
of the same size in the same operation, you enter a MARK command.
The MARK command can be entered anytime that READY is indicated
on the display screen. It will not interfere with your programs. For our
exercise, we are assuming that you are beginning a new media (no
files have been marked). We will mark three files, each containing
2048 or 2K character positions (K is equal to 1024). This exercise
provides enough space on your media to contain three programs (one
in each file) of approximately 35 statements each. Tape files for the
5110 are numbered sequentially beginning with 1. Should you later
decide to add more files, you can do so as long as you do not exceed
the physical limits of your media.
A tape contains space for approximately 200K of storage, minus the
leading and trailing data for each data file, which equals 0.5K per file.
Thus, a tape can contain approximately 132 1 K files, 44 4K files, or
any combination of file sizes up to 200K, including the required 0.5K
per file. For information on diskette capacities, see the IBM 5110
BASIC User's Guide, SA21-9307.
Note: If you are not using a new tape cartridge, you must first ensure
that your tape does not contain important data belonging to someone
else. This is necessary because any existing data beyond the file you
MARK is erased when you MARK the tape again. The system displays
a warning message when you attempt a MARK command to a file that
is already marked. To continue marking the file, press A TIN to stop
the flashing screen, press the scroll up key once to move the display
up one line, enter GO in positions 1 and 2, then press EXECUTE. To
discontinue the MARK operation, enter GO END, then press EXECUTE.
To mark the tape in our exercise, press the following keys:
~~~~~~~~~~~~~
~
~
I
'
Y
J
Size of Files Number of Files
Starting File
/
To Be
To Format
Number
Formatted
Device. If you are using tape storage,
specify E80. If you are using diskette
storage, specify 080 (diskette drive 1).
See the 5110 BASIC Reference Manual
for details on device addresses.
You have now marked the media for three files of 2K characters each,
starting with file 1. The READY message is displayed when the media
preparation is completed. We will now save the savings program on
your media. If you want to mark additional files, remember that you
should begin with file number 4.
o
If-"\
' ..... jV
C)
42
Marking Your Media
To prepare a tape or diskette with one file of any size, or several files
of the same size in the same operation, you enter a MARK command.
The MARK command can be entered anytime that READY is indicated
on the display screen. It will not interfere with your programs. For our
exercise, we are assuming that you are beginning a new media (no
files have been marked). We will mark three files, each containing
2048 or 2K character positions (K is equal to 1024). This exercise
provides enough space on your media to contain three programs (one
in each file) of approximately 35 statements each. Tape files for the
5110 are numbered sequentially beginning with 1. Should you later
decide to add more files, you can do so as long as you do not exceed
the physical limits of your media.
A tape contains space for approximately 200K of storage, minus the
leading and trailing data for each data file, which equals 0.5K per file.
Thus, a tape can contain approximately 132 1 K files, 44 4K files, or
any combination of file sizes up to 200K, including the required 0.5K
per file. For information on diskette capacities, see the IBM 5110
BASIC User's Guide, SA21-9307.
Note: If you are not using a new tape cartridge, you must first ensure
that your tape does not contain important data belonging to someone
else. This is necessary because any existing data beyond the file you
MARK is erased when you MARK the tape again. The system displays
a warning message when you attempt a MARK command to a file that
is already marked. To continue marking the file, press A TIN to stop
the flashing screen, press the scroll up key once to move the display
up one line, enter GO in positions 1 and 2, then press EXECUTE. To
discontinue the MARK operation, enter GO END, then press EXECUTE.
To mark the tape in our exercise, press the following keys:
~~~~~~~~~~~~~
~
~
I
'
Y
J
Size of Files Number of Files
Starting File
/
To Be
To Format
Number
Formatted
Device. If you are using tape storage,
specify E80. If you are using diskette
storage, specify 080 (diskette drive 1).
See the 5110 BASIC Reference Manual
for details on device addresses.
You have now marked the media for three files of 2K characters each,
starting with file 1. The READY message is displayed when the media
preparation is completed. We will now save the savings program on
your media. If you want to mark additional files, remember that you
should begin with file number 4.
o
If-"\
' ..... jV
C)

Advertisement

Table of Contents
loading

Table of Contents