Multiple choice technology programming languages

IN a VSAM KSDS Read statement AT END should be specified only during?

  1. Dynamic

  2. Random

  3. Sequential

  4. Keyed Sequential

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

In VSAM Key Sequenced Data Sets (KSDS), the AT END clause is used for sequential access to detect end-of-file. Random access doesn't use AT END, and 'Dynamic' and 'Sequential' are not VSAM access modes. Keyed Sequential access properly uses AT END when reading sequentially.