DECLARATIVE and FILE STATUS Clause:
The input-output exception condition in the situation of a direct access files can be handled by a declarative procedure in a manner similar to that of sequential files.