COBOL Runtime Error Code – 186 Attempt to open stdin, stdout or stderr

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

COBOL Error Code :

186

Reason for this Error in COBOL

Attempt to open stdin, stdout or stderr with incorrect mode (Recoverable) -You have tried to open either a standard input file with output mode, or some other file in an incorrect mode.