The text read off it
[02.07.13]
each tape block into internal buffer areas, thus discarding the last 2 words of each block. Since the SPANS option is exercised, the first 12 words of BLOCK J and the first 3 words of Block J + 1 will be transmitted to a 15 word memory area reserved for the record. The remaining portion of Block J + 1 is discarded due to the use of the BEGIN option, which directs system attention to a new block when a GET command is issued.
Either form of the GET command may be used to obtain records from this file.
4. Example 4
a) Statement of Problem
i File consists of standard fixed length records prepared on card-to-tape equipment.
- REC1 - 80 characters
- REC2 - 80 characters
ii The exact order in which records appear on tape is unknown.
iii Block size is specified as 14 words (BLOCKSIZE 14) as it is desired to make all 80 characters available.
iv Records do not span block boundaries; however, it is desired to retain each record until the next record of the same name is obtained (HOLD option taken).
v Each record begins a new block (BEGIN option taken).
b) Illustration of Tape
A portion of the tape might be:
Illustration of tape for Example 4 (page 64).
| Block | Record | Record chars | Block (card-to-tape) chars |
|---|---|---|---|
| Block J | REC1 | 80 | 84 |
| Block J+1 | REC2 | 80 | 84 |