COBOL · File status code
What does File Status 12 mean in COBOL?
An OPEN was attempted on a file the program has already opened and not yet closed.
An OPEN was attempted on a file the program has already opened and not yet closed.
Check for a duplicate OPEN statement, often introduced when merging paragraphs from two routines that each open the same file.