cobol3.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Message RT008 (↑ RTS Messages)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Message:      RT008
 
  Text:         Attempt to input from a file opened for OUTPUT
 
  Severity:     Recoverable
 
  Explanation:  You have tried to read from a file that is open only
                for output.
 
  Resolution:   Close the file and open it with a mode such as I-O,
                which allows you to read from the file.  As this error
                implies there is a mistake in your program's logic you
                may want to terminate the run and recode your
                program.
                                    -♦-