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 RT019 (↑ RTS Messages)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Message:      RT019
 
  Text:         Rewrite error: open mode or access mode wrong
 
  Severity:     Recoverable
 
  Explanation:  You are attempting to do a REWRITE to a file that has
                not been opened with the correct access mode for this
                operation.
 
  Resolution:   Close the file and reopen it in a mode such as I-O,
                which allows you to do REWRITE operations on
                that file. As this error implies that your program contains
                a mistake in its logic, you may want to close any open files
                and then execute a STOP RUN. You can then recode your
                program to eliminate the logic error.
                                    -♦-