Virtual Storage Access Method

This is an old revision of this page, as edited by 85.97.190.205 (talk) at 14:08, 5 April 2007. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Virtual Storage Access Method (VSAM) is an IBM disk file storage scheme first used in the OS/VS2 operating system and later used throughout the Multiple Virtual Storage (MVS) architecture. The record-oriented filesystem of VSAM comprises four access methods: Key Sequenced Data Set (KSDS), Relative Record Data Set (RRDS), Entry Sequenced Data Set (ESDS) and Linear Data Set (LDS).

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 kilobytes — while Control Area sizes are measured in disk tracks or cylinders.

The utility program IDCAMS is commonly used to manipulate ("delete and define") VSAM datasets. Custom programs can access VSAM datasets through data definitions (DDs) in Job Control Language (JCL) or in online regions such as in Customer Information Control Systems (CICS).

Both IMS/DB and DB2 are implemented on top of VSAM and use its underlying data structures.

See also

References