A part record has been found at the end of a file. Consequently your run-time system treats the data file as a record, and
not finding a full record, reports this error.
Resolution:
Ensure that the record size you give when you read from or WRITE to a file is consistent.