Content deleted Content added
Guy Harris (talk | contribs) Undid revision 669436015 by 103.27.171.54 (talk) - rv damage |
|||
Line 1:
'''Virtual storage access method''' ('''VSAM''') is an [[IBM]] [[Direct access storage device|DASD]] file storage [[access method]], first used in the [[OS/VS1]], OS/VS2 [[OS/VS2 (SVS)|Release 1]] (SVS) and [[MVS|Release 2]] (MVS) operating systems, later used throughout the [[Multiple Virtual Storage]] (MVS) architecture and now in [[z/OS]]. Originally a [[record-oriented filesystem]].{{#tag:ref|With the exception of catalogs, page spaces and swap<ref group=NB>No longer used.</ref> spaces, which
IBM uses the term ''data set'' in official documentation as a synonym of ''file'', and ''[[Direct access storage device]]'' (''DASD'') because it supported other devices similar to ''disk drives''.
VSAM records can be of fixed or variable length. They are organised in fixed-size blocks called Control Intervals (CIs), and then into larger divisions called Control Areas (CAs). Control Interval sizes are measured in bytes — for example 4 [[kilobyte]]s — while Control Area sizes are measured in disk tracks or cylinders. Control Intervals are the units of transfer between disk and computer so a read request will read one complete Control Interval. Control Areas are the units of allocation so, when a VSAM data set is defined, an integral number of Control Areas will be allocated.
The Access Method Services utility program [[IBM mainframe utility programs#IDCAMS|IDCAMS]] is commonly used to manipulate ("delete and define") VSAM data sets.
Line 23:
=== Sequential VSAM organization ===
{{
An ESDS may have an index defined to it to enable access via keys, by defining an Alternate Index.Records in ESDS are stored in order in which they are written by address access.Records are loaded irrespective of their contents and their byte addresses cannot be changed.
=== Indexed VSAM organization ===
{{
A KSDS has two parts: the index component and the data component. These may be stored on separate disk volumes.
Line 36:
=== Relative VSAM organization ===
{{
An RRDS may have an index defined to it to enable access via keys, by defining an Alternate Index.
=== Linear VSAM organization ===
{{
An LDS is an unstructured VSAM dataset with a control interval size of a multiple of 4K. It is used by certain system services.
Line 48:
* Local Shared Resources (LSR), is optimised for "random" or direct access. LSR access is easy to achieve from [[CICS]].
* Global Shared Resources (GSR)
* Non-Shared Resources (NSR), which is optimised for sequential access. NSR access has historically been easier to use than LSR for batch programs.
* Distributed File Management (DFM), an implementation of a [[Distributed Data Management Architecture]] server, enables programs on remote computers to create, manage, and access VSAM files.
Line 68 ⟶ 65:
Linear data sets were added later, followed by VSAM RLS and then Transactional VSAM.
== Notes ==▼
{{Reflist|group=NB}}▼
== See also ==
Line 78 ⟶ 72:
* [[Geneva ERS]]
* [[Record Management Services]], a similar system developed by [[Digital Equipment Corporation]]
▲== Notes ==
▲{{Reflist|group=NB}}
== References ==
|