Relative Record Data Set
Encyclopedia
A Relative Record Data Set (RRDS) is a type of data set 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.
in the way of data set calling. The difference from Key Sequenced Data Set is that RRDS has no any keys.
The concept of RRDS is similar to sequential access
Sequential access
In computer science, sequential access means that a group of elements is accessed in a predetermined, ordered sequence. Sequential access is sometimes the only way of accessing the data, for example if it is on a tape...
method, but it can access with data in random access
Random access
In computer science, random access is the ability to access an element at an arbitrary position in a sequence in equal time, independent of sequence size. The position is arbitrary in the sense that it is unpredictable, thus the use of the term "random" in "random access"...
and dynamic access.
Structure
Physical structure of RRDS is described that it has data record in sequence. Its logical structure follows Physical one of it. One record stands after Previous records like some people stand in line. The record exists in turn of number called relative record number indicates logical positional relativity in the file. Operator can realize the function of random access and dynamic access by designating this relative number. Consequently, when you do reading or writing of record, you must know where the record you want in file is. Calling of Relative Record Data Set includes that doing random access by naming relative record by will or doing sequential access by naming the number in turn from the relative record number you indicate. Consequently, RRDS has the same function as Key Sequenced Data SetKey Sequenced Data Set
A Key Sequenced Data Set is a type of data set used by the IBM VSAM computer data storage system. Each record in a KSDS data file is embedded with a unique key. A KSDS consists of two parts, the data component and a separate index file known as the index component which allows the system to...
in the way of data set calling. The difference from Key Sequenced Data Set is that RRDS has no any keys.