cobol3.hlp (Topic list)
Message RT158 (↑ RTS Messages)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Message:      RT158
 
  Text:         Attempt to REWRITE to a line-sequential file
 
  Severity:     Recoverable
 
  Explanation:  You have used the REwrite statement in conjunction
                with a file whose organization is line sequential.
                The REWRITE statement cannot be used with line
                sequential files.
 
  Resolution:   Close the file in error before executing a STOP RUN
                statement to ensure that you do not lose any data from
                it.  Recode your program to make the organization of
                the file to which you wish to do a REWRITE either
                sequential, indexed sequential, or relative.
                                    -♦-