In this post, you’ll learn about the COBOL runtime Error Code 006 and the reason why you are receiving it
COBOL Error Code :
006
Reason for this Error in COBOL
Attempt to write to a file opened for INPUT (Recoverable) -You have tried to WRITE to a file that is open for input only. -Close the file and open it with a mode such as I-O, which allows you to write to the file. As this error implies that your program logic contains a mistake, you might want to terminate the run and recode your program.
Leave a Reply