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 RT152 (↑ RTS Messages)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Message:      RT152
 
  Text:         REWRITE on file not opened I-O
 
  Severity:     Recoverable
 
  Explanation:  You have attempted a REWRITE on a file that is not
                open I-O.
 
  Resolution:   Close the relevant file and open it for I-O
                operations. You should then be able to carry out the
                REwrite operation successfully.  However, as this error
                implies that your program contains a mistake in its logic,
                you may wish to close any open files, execute a STOP RUN
                statement and then recode.
                                    -♦-