On Mon, 20 Aug 2007 13:29:31 +0000, john gilmore wrote: >As usual, we have a lot of people posting comments about things they know >little about.
PKB >From the Enterprise COBOL Reference: <quote COBOL> 6.2.31 REWRITE statement The REWRITE statement logically replaces an existing record in a direct-access file. When the REWRITE statement is executed, the associated direct-access file must be open in I-O mode. 6.2.31.4 Sequential files For files in the sequential access mode, the last prior input/output statement executed for this file must be a successfully executed READ statement. When the REWRITE statement is executed, the record retrieved by that READ statement is logically replaced. The number of character positions in record- name-1 must equal the number of character positions in the record being replaced. </quote COBOL> -- Tom Marchant ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

