Gary is correct that this isn't allowed. The upcoming 2.0 release will support this if -frelaxed-syntax is used (which is used in every case you compile with -std=mf) as MicroFocus allows this. The code is in rw-branch already (not sure for now if it's checking relaxed syntax or not, but the compiler will do so. BTW: Gary please contact me to discuss placing the programmer's guide under svn control and ship it together with GnuCOBOL. Thank you. Simon Re: Rewrite line sequential fiie. [Hide message from public view] From: Gary Cutler <cutlergl@gm...> - 2015-04-29 17:17:31 The statement that REWRITE is allowed (pg 80) is incorrect (a copy/paste oversight). Neither "OPEN I-O" nor "REWRITE" are allowed with LINE SEQUENTIAL files (which are meant to be print files). The compiler clearly flags both as errors if they are attempted. _____________________________ From: John Culleton <john@...> Sent: Wednesday, April 29, 2015 9:50 AM Subject: Rewrite line sequential fiie. To: <open-cobol-list@...> Page 80 of the manual says that REWRITE can be used for line sequential files. page 437 says the opposite. If REWRITE is legitimate then I assume that the file can be opened in I-O mode. -- John Culleton ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ open-cobol-list mailing list open-cobol-list@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/open-cobol-list