You have performed an operation that is permitted only if the file has SEQUENTIAL organization (for example, CLOSE REEL/UNIT).
Change the file organization to SEQUENTIAL.
Related Topics: