Multiple choice technology mainframe

The keyword OPTIONAL in select clause is used only for

  1. Output files

  2. Input files

  3. Both the files

  4. All the above is correct

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

OPTIONAL specifies that a file may not be present at job execution time. For input files (READ mode), this prevents ABEND if the file is missing. Output files with optional status would create runtime errors if referenced but absent.