Multiple choice technology mainframe

What are the types of VSAM files that COBOL can handle?

  1. KSDS, ESDS

  2. ESDS, RRDS

  3. KSDS, ESDS, RRDS

  4. KSDS, RRDS

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

VSAM (Virtual Storage Access Method) supports four main file organization types: KSDS (Key Sequenced Data Set) for indexed access, ESDS (Entry Sequenced Data Set) for sequential-only access, RRDS (Relative Record Data Set) for direct access via relative record number, and LDS (Linear Data Set). COBOL can work with KSDS, ESDS, and RRDS, which are the primary VSAM file types used in mainframe applications.