What is VSAM (Virtual Storage Access Method)?
Virtual Storage Access Method (VSAM) is an access method for IBM's mainframe operating system, MVS, now called z/OS. VSAM succeeded and expanded upon an earlier IBM file access method, ISAM, or Indexed Sequential Access Method.
VSAM enables enterprises to organize records in a file in physical sequence, or the sequential order that they were entered, logical sequence using a key, such as an employee ID number, or by the relative record number on direct access storage devices.
There are four types of VSAM data sets:
- Entry-sequenced data set.
- Key-sequenced data set.
- Linear data set.
- Relative-record data set.
VSAM records can be of fixed or variable length. Many corporations run both old and new applications on mainframes that access VSAM files, or data sets.
IBM now promotes Db2, a relational database management system, although VSAM linear datasets are still used to contain tablespaces and index spaces within the system. Keyed sequence VSAM is also used by DB2 for the Bootstrap Dataset.