<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Key-sequenced_data_set</id>
	<title>Key-sequenced data set - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Key-sequenced_data_set"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Key-sequenced_data_set&amp;action=history"/>
	<updated>2026-05-04T21:58:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Key-sequenced_data_set&amp;diff=1567435&amp;oldid=prev</id>
		<title>imported&gt;AnomieBOT: Dating maintenance tags: {{Merge}}</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Key-sequenced_data_set&amp;diff=1567435&amp;oldid=prev"/>
		<updated>2025-03-01T11:19:00Z</updated>

		<summary type="html">&lt;p&gt;Dating maintenance tags: {{Merge}}&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|IBM data record organization type}}&lt;br /&gt;
{{no footnotes|date=March 2017}}&lt;br /&gt;
{{merge|Linear data set|Entry-sequenced data set|Relative record data set|target=Virtual Storage Access Method|discuss=Talk:Virtual Storage Access Method#Merge suggestion|date=March 2025}}&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;key-sequenced data set&amp;#039;&amp;#039;&amp;#039; (KSDS) is a type of [[data set (IBM mainframe)|data set]] used by [[IBM]]&amp;#039;s [[VSAM]] [[computer data storage]] system.&amp;lt;ref name=&amp;quot;demystified&amp;quot;&amp;gt;{{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}}&amp;lt;/ref&amp;gt;{{rp|5}} Each record in a KSDS data file is embedded with a unique key.&amp;lt;ref name=&amp;quot;demystified&amp;quot;/&amp;gt;{{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.&amp;lt;ref name=&amp;quot;demystified&amp;quot;/&amp;gt;{{rp|13}} Together, the data and index components are called a cluster.&amp;lt;ref name=&amp;quot;demystified&amp;quot;/&amp;gt;{{rp|15}}&lt;br /&gt;
&lt;br /&gt;
Records can be accessed randomly or in sequence and can be variable-length.&lt;br /&gt;
&lt;br /&gt;
As a [[VSAM]] data set, the KSDS data and index components consist of control intervals&amp;lt;ref name=&amp;quot;demystified&amp;quot;/&amp;gt;{{rp|10}} which are further organized in control areas.&amp;lt;ref name=&amp;quot;demystified&amp;quot;/&amp;gt;{{rp|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.&amp;lt;ref name=&amp;quot;demystified&amp;quot;/&amp;gt;{{rp|17}}&lt;br /&gt;
&lt;br /&gt;
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.&amp;lt;ref name=&amp;quot;demystified&amp;quot;/&amp;gt;{{rp|15}} An alternate index is itself a KSDS.&amp;lt;ref name=&amp;quot;demystified&amp;quot;/&amp;gt;{{rp|16}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Entry-sequenced data set]]&lt;br /&gt;
*[[Linear data set]]&lt;br /&gt;
*[[Relative record data set]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[https://web.archive.org/web/20051023212932/http://www.lascon.co.uk/d002303.htm Lascon.co.uk]&lt;br /&gt;
*[https://web.archive.org/web/20070311021954/http://www.redbooks.ibm.com/redbooks/SG246105/wwhelp/wwhimpl/js/html/wwhelp.htm Redbooks.ibm.com]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
{{Compu-storage-stub}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Computer file systems]]&lt;/div&gt;</summary>
		<author><name>imported&gt;AnomieBOT</name></author>
	</entry>
</feed>