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 RT195 (↑ RTS Messages)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Message:      RT195
 
  Text:         DELETE/REWRITE not preceded by a read
 
  Severity:     Fatal
 
  Explanation:  Before a DELETE or a REwrite statement can be
                successfully executed in sequential access mode the
                last input-output statement executed for the
                associated file must have been a successful read. In
                your code no read statement precedes your attempted
                DELETE or REwrite.
 
  Resolution:   When your program has terminated, recode your program,
                making sure that the last input-output statement to be
                executed before the DELETE or REwrite is a read
                statement.
                                    -♦-