INVALID KEY Phrase
If the comparison is not satisfied by any record in the file, an invalid key condition exists; the value of the file position indicator is undefined, and (if specified) the INVALID KEY imperative statement runs. (See INVALID KEY Condition.)
The INVALID KEY phrase must be specified if no EXCEPTION/ERROR procedure is explicitly or implicitly specified for this file.