Multiple choice technology mainframe

SSRANGE compiler option is used for?

  1. Subscript Checking

  2. Efficiently handling Array

  3. No Such Option exists

  4. Array bound Checking

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

The SSRANGE compiler option in COBOL generates code to check whether subscripts, indexes, or reference modifiers exceed the declared boundaries of an array at runtime, ensuring array bound checking. If subscripts are out of bounds, a runtime error is raised, preventing memory corruption or access to invalid locations.