You are trying to do a random read on a file which has sequential organization.
Resolution:
Read the file with the correct access mode. As this error implies that your program logic contains a mistake, you might like to close any files which are open, execute a STOP RUN statement and recode.