IBM 1130 User Manual page 590

Computing system
Hide thumbs Also See for 1130:
Table of Contents

Advertisement

Section
Subsections
Page
75
20
I
10
01
Use of File Organization
Is it possible to keep mulitple copies of your files,
each in the sequence of a report to be produced?
If
so, you can avoid sorting.
If
not, however, as
is likely with moderate to large files, the impor-
tance of your file organization scheme emerges.
Pure Sequential
An answer for files organized in a pure sequential
manner is to maintain multiple copies on multiple
disk cartridges. This eliminates sorting but may
cause problems in processing.
(See Figure 75.4.)
Generally, with pure sequential files that are too
large for multiple copies, the solution is offline
sorting.
2
3
4
5
6
Jones
Jones
Jones
Jones
Smith
Smith
1
Williams
2
3
00103
00109
00110
00115
00131
r
87961
Indexed Sequential
Is it possible to keep multiple copies of your index,
with each index in the sequence of a report to be
produced? Since your index is considerably smaller
than your file, this may be the ideal solution.
Proc-
essing against the file would be random.
(See Fig-
ure 75.5.) Again,
if
this solution cannot be used,
you can still sort offline.
Random
In
this case your files are usually organized in a
sequence that does not relate to a report. The
transactions (say, cards containing only control
keys) must be sequenced appropriately; a sort is
necessary. Hence, the only way to avoid sorting
using your 1130 is to sort offline.
in part number
in salesman
sequence,
for sales report
sequence, for inventory
report
Figure 75.4. Same data in two files, but in different sequence

Advertisement

Table of Contents
loading

Table of Contents