cobol3.hlp (Topic list)
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.
                                    -♦-