relative record data set
{{Short description|Type of data set organization}}
{{Redirect|R.R.D.S.|the dance music production duo|Cloud2Ground}}
{{merge|Linear data set|Key-sequenced data set|Entry-sequenced data set|target=Virtual Storage Access Method|discuss=Talk:Virtual Storage Access Method#Merge suggestion|date=March 2025}}
A relative record data set (RRDS) is a type of data set organization used by IBM's VSAM computer data storage system.{{cite book|url=https://www.redbooks.ibm.com/redbooks/pdfs/sg246105.pdf |series=Redbooks |title=VSAM Demystified |first1=Mary |last1=Lovelace |first2=Jose |last2=Dovidauskas |first3=Alvaro |last3=Salla |first4=Valeria |last4=Sokal |chapter=Chapter 1. VSAM basics |edition=3 |publisher=IBM |date=August 2022}}{{rp|5}} Records are accessed based on their ordinal position in the file (relative record number, RRN).{{rp|29}} 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.{{huh|date=April 2021}}
Structure
An RRDS consists of data records in sequence, with the record number indicating the record's logical position in the data set.{{rp|29}} A program can access records randomly using this positional number or access records sequentially.{{rp|30}} But unlike a Key Sequenced Data Set, an RRDS has no keys, so the program cannot access records by key value.
See also
References
- https://web.archive.org/web/20051013071230/http://www.jaymoseley.com/hercules/vstutor/vstutor.htm
- http://www.mvsforums.com/techfaqsvsam.html
- https://web.archive.org/web/20070311021954/http://www.redbooks.ibm.com/redbooks/SG246105/wwhelp/wwhimpl/js/html/wwhelp.htm
{{reflist}}
Category:Computer file systems
{{Compu-storage-stub}}