Jump to content

Relative Record Data Set

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Oshwah (talk | contribs) at 09:17, 19 April 2018 (Reverted edits by 118.151.210.82 (talk) (HG) (3.3.5)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A Relative Record Data Set (RRDS) is a type of data set organization used by the VSAM computer data storage system. Records are accessed based on their ordinal position in the file (relative record number, RRN). For example, the desired record to be accessed might be the 42nd record in the file out of 999 total.

The concept of RRDS is similar to sequential access method, but it can access with data in random access and dynamic access.

Structure

An RRDS consists of data records in sequence, with the record number indicating the record's logical position in the data set. A program can access records randomly using this positional number or access records sequentially. But unlike a Key Sequenced Data Set, an RRDS has no keys, so the program cannot access records by key value.

Keys may be used to access records in an RRDS by defining an alternate index.

See also

References