1.5.1 Mainframe Systems

The access methods and file structures of mainframe-system computers are treated almost totally independent concepts. The file structures consist of the fixed-length (F), variable length (V), fixed-length and blocked (FB), variable-length and blocked (VB), and variable-length, spanned and blocked (VBS) types. However, these concepts do not exist in FORTRAN, and so must be specified in parts outside the FORTRAN programming (such as in the DD statement).

Of these, the fixed-length file structures (F, FB) are the most simple, are are just successions of data of a given length containing no extra codes. In contrast, the variable-length, spanned and blocked (VBS) type has the most complex structure, and is a true variable-length record method that can store a record of any length. (V and VB are variable-length structures but have upper limits to their record lengths.)

Furthermore, when reading or writing, it is generally more efficient for the computer to perform the operation collectively in units that are as large as possible. Thus, the processing speed for blocked structures are usually faster.