1.7. Comparing VSAM data set organizations

Table 1-2 provides a summary of the characteristics of VSAM data set types described in this chapter.

Table 1-2. Comparison of ESDS, KSDS, RRDS, VRRDS, and linear data sets
ESDSKSDSFixed-length RRDSVariable-length RRDSLinear data sets
Records are in the same order as they are enteredRecords are in collating sequence by key field after loadRecords are in relative record number orderRecords are in relative record number orderNo processing at record level
Records can be fixed or variable lengthRecords can be fixed or variable lengthRecords have fixed lengthRecords have variable lengthNo processing at record level
Direct access by RBADirect access by key or by RBADirect access by relative record numberDirect ...

Get VSAM Demystified now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.