Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

output question
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


Report this thread to moderator Post Follow-up to this message
Old Post
funarcade@gmail.com
05-20-05 01:55 AM


Re: output question
<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.




Report this thread to moderator Post Follow-up to this message
Old Post
Rick Smith
05-20-05 01:55 AM


Re: output question
On 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?

Report this thread to moderator Post Follow-up to this message
Old Post
Howard Brazee
05-20-05 01:55 AM


Re: output question
> 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).


Report this thread to moderator Post Follow-up to this message
Old Post
Richard
05-20-05 01:55 AM


Re: output question
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


Report this thread to moderator Post Follow-up to this message
Old Post
funarcade@gmail.com
05-21-05 01:55 AM


Re: output question
ORGANIZATION 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
>



Report this thread to moderator Post Follow-up to this message
Old Post
JJ
05-23-05 08:55 AM


Re: output question
ORGANIZATION 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
>



Report this thread to moderator Post Follow-up to this message
Old Post
JJ
05-28-05 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 10:06 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.