Resolution:
Ensure that you have an FD entry for each file named in a SELECT clause in the FILE-CONTROL paragraph.