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 RT006 (↑ RTS Messages)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Message:      RT006
 
  Text:         Attempt to write to a file opened for INPUT
 
  Severity:     Recoverable
 
  Explanation:  You have tried to WRITE to a file that is open only
                for input.
 
  Resolution:   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 there is a mistake in your program's logic you
                may want to terminate the run and recode your
                program.
                                    -♦-