Key-sequenced data set: Difference between revisions
NapoliRoma (talk | contribs) m NapoliRoma moved page Key Sequenced Data Set to Key-sequenced data set over redirect: Change to sentence case (MOS:AT): align punctuation/capitalization with sources |
NapoliRoma (talk | contribs) Adding short description: "IBM data record organization type" |
||
Line 1: | Line 1: | ||
{{Short description|IBM data record organization type}} |
|||
{{no footnotes|date=March 2017}} |
{{no footnotes|date=March 2017}} |
||
A '''key-sequenced data set''' (KSDS) is a type of [[data set (IBM mainframe)|data set]] used by [[IBM]]'s [[VSAM]] [[computer data storage]] system.<ref name="demystified">{{cite book|url=http://www.redbooks.ibm.com/pubs/pdfs/redbooks/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=March 2013}}</ref>{{rp|5}} Each record in a KSDS data file is embedded with a unique key.<ref name="demystified"/>{{rp|20}} A KSDS consists of two parts, the data component and a separate [[index file]] known as the index component which allows the system to physically locate the record in the data file by its key value.<ref name="demystified"/>{{rp|13}} Together, the data and index components are called a cluster.<ref name="demystified"/>{{rp|15}} |
A '''key-sequenced data set''' (KSDS) is a type of [[data set (IBM mainframe)|data set]] used by [[IBM]]'s [[VSAM]] [[computer data storage]] system.<ref name="demystified">{{cite book|url=http://www.redbooks.ibm.com/pubs/pdfs/redbooks/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=March 2013}}</ref>{{rp|5}} Each record in a KSDS data file is embedded with a unique key.<ref name="demystified"/>{{rp|20}} A KSDS consists of two parts, the data component and a separate [[index file]] known as the index component which allows the system to physically locate the record in the data file by its key value.<ref name="demystified"/>{{rp|13}} Together, the data and index components are called a cluster.<ref name="demystified"/>{{rp|15}} |
Revision as of 20:07, 9 June 2024
![]() | This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. (March 2017) |
A key-sequenced data set (KSDS) is a type of data set used by IBM's VSAM computer data storage system.[1]: 5 Each record in a KSDS data file is embedded with a unique key.[1]: 20 A KSDS consists of two parts, the data component and a separate index file known as the index component which allows the system to physically locate the record in the data file by its key value.[1]: 13 Together, the data and index components are called a cluster.[1]: 15
Records can be accessed randomly or in sequence and can be variable-length.
As a VSAM data set, the KSDS data and index components consist of control intervals[1]: 10 which are further organized in control areas.[1]: 12 As records are added at random to a KSDS, control intervals fill and need to be split into two new control intervals, each new control interval receiving roughly half of the records. Similarly, as the control intervals in a control area are used up, a control area will be split into two new control areas, each new control area receiving roughly half the control intervals.[1]: 17
While a basic KSDS only has one key (the primary key), alternate indices may be defined to permit the use of additional fields as secondary keys.[1]: 15 An alternate index is itself a KSDS.[1]: 16