COBOL Runtime Error Code – 024 Disk input-output error (Recoverable) -Y

In this post, you’ll learn about the COBOL runtime Error Code 024 and the reason why you are receiving it

COBOL Error Code :

024

Reason for this Error in COBOL

Disk input-output error (Recoverable) -You might have performed a read after a WRITE, or there might be either a verification failure or a parity error. -In some circumstances this error is fatal, but if it occurs during a read you can trap it and then do a close on the file before executing a STOP RUN statement.