Code Comments
Programming Forum and web based access to our favorite programming groups.Hi all, How do you output a sequential file with a carriage return and line feed at the end of each record. Thank you for your help in advance
Post Follow-up to this message<funarcade@gmail.com> wrote in message news:1116533412.487952.42300@f14g2000cwb.googlegroups.com... > Hi all, > > How do you output a sequential file with a carriage return and line > feed at the end of each record. It depends on the compiler. Some allow for ORGANIZATION IS LINE SEQUENTIAL to accomplish what you are requesting. Tell us what compiler you are using and what OS then someone may be able supply a definite answer.
Post Follow-up to this messageOn 19-May-2005, funarcade@gmail.com wrote: > Hi all, > > How do you output a sequential file with a carriage return and line > feed at the end of each record. > > Thank you for your help in advance What is your environment?
Post Follow-up to this message> How do you output a sequential file with a carriage return and line > feed at the end of each record. MOVE x"0D0A" TO End-of-Record (or LINE SEQUENTIAL if available as already mentioned).
Post Follow-up to this messageThank you for all the responses. I am not sure what compiler we are using. The cobol software is Data General I Cobol. We are running cobol in dos under Windows 98. To run it in Windows 98 we are using a software called Choice! by Wildhare http://www.wildharecomputers.com/company.htm
Post Follow-up to this messageORGANIZATION IS LINE SEQUENTIAL in the SELECT should be what you need in DG ICOBOL. You can also use ASSIGN TO DISPLAY "filename". <funarcade@gmail.com> wrote in message news:1116616269.474330.130890@g47g2000cwa.googlegroups.com... > Thank you for all the responses. > > I am not sure what compiler we are using. The cobol software is Data > General I Cobol. We are running cobol in dos under Windows 98. To run > it in Windows 98 we are using a software called Choice! by Wildhare > > http://www.wildharecomputers.com/company.htm >
Post Follow-up to this messageORGANIZATION IS LINE SEQUENTIAL in the SELECT should be what you need in DG ICOBOL. You can also use ASSIGN TO DISPLAY "filename". <funarcade@gmail.com> wrote in message news:1116616269.474330.130890@g47g2000cwa.googlegroups.com... > Thank you for all the responses. > > I am not sure what compiler we are using. The cobol software is Data > General I Cobol. We are running cobol in dos under Windows 98. To run > it in Windows 98 we are using a software called Choice! by Wildhare > > http://www.wildharecomputers.com/company.htm >
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.