In this post, you’ll learn about the COBOL runtime Error Code 151 and the reason why you are receiving it
COBOL Error Code :
151
Reason for this Error in COBOL
Random read on sequential file (Recoverable) -You are trying to do a random read on a file which has sequential organization. -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.
Leave a Reply