The keyword OPTIONAL in select clause is used only for
-
Output files
-
Input files
-
Both the files
-
All the above is correct
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.