📄 VSAM
VSAM Introduction
Beginner 🕑 15 min read
👁 1 views
15
Code Example
## VSAM Introduction
Virtual Storage Access Method (VSAM) is IBM's high-performance file access method for z/OS.
### What is VSAM?
VSAM provides:
- Direct and sequential access
- Index-based retrieval
- High performance I/O
- Data integrity features
### VSAM Dataset Types
| Type | Description | Key Feature |
|------|-------------|-------------|
| KSDS | Key-Sequenced | Primary key access |
| ESDS | Entry-Sequenced | Sequential only |
| RRDS | Relative Record | Slot number access |
| LDS | Linear | Byte-stream data |
### VSAM Components
**Cluster:** Complete VSAM file
**Data Component:** Actual records
**Index Component:** Key index (KSDS only)
### Control Interval (CI)
Unit of data transfer between disk and memory.
### Control Area (CA)
Group of CIs, unit of space allocation.
### Key Concepts
- IDCAMS utility for management
- Catalog entries required
- Shareoptions control access