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

Realia Cobol
In taking over the responsibility for a machine with a Realia Cobol
compiler, I have noticed that the output files from cobol programs have tab
characters in them for spaces.  Would anyone know why this is happening and
how to stop it.  Any help would be greatly appreciated.

Report this thread to moderator Post Follow-up to this message
Old Post
Ray Bletko
09-27-06 02:55 AM


Re: Realia Cobol
Ray Bletko wrote:
> In taking over the responsibility for a machine with a Realia Cobol
> compiler, I have noticed that the output files from cobol programs
> have tab characters in them for spaces.  Would anyone know why this
> is happening and how to stop it.  Any help would be greatly
> appreciated.

It's part of the file definition.

SELECT OUT-FILE ASSIGN TO 'MYFILE.TXT[T]'...

The "T" on the end signifies TAB separators for text files in columns 1, 9,
17, 25, 33, etc.

Two other choices are available:

"[N]" = text file but truncate trailing spaces.
"[U]" = text file bit trailing spaces are retained

You can stop it by recompiling the program with either an "N" or "U" in the
file description.

You can also remove the tabs by copying the file using the Realia utility,
viz:

REALCOPY   INFILE.TXT[T]   OUTFILE.TXT[N]

Realia permits oodles of other file types, too.
[V]ariable
[C]ompressed
[F]ixed length
[D] - Fixed length with delete byte
[R]elative
[B]yte stream
[X] - Indexed




Report this thread to moderator Post Follow-up to this message
Old Post
HeyBub
09-27-06 02:55 AM


Re: Realia Cobol
"HeyBub" <heybubNOSPAM@gmail.com> wrote in
news:12hjls4g9ashe50@news.supernews.com:

> Ray Bletko wrote: 
>
> It's part of the file definition.
>
> SELECT OUT-FILE ASSIGN TO 'MYFILE.TXT[T]'...
>
> The "T" on the end signifies TAB separators for text files in columns
> 1, 9, 17, 25, 33, etc.
>
> Two other choices are available:
>
>    "[N]" = text file but truncate trailing spaces.
>    "[U]" = text file bit trailing spaces are retained
>
> You can stop it by recompiling the program with either an "N" or "U"
> in the file description.
>
> You can also remove the tabs by copying the file using the Realia
> utility, viz:
>
> REALCOPY   INFILE.TXT[T]   OUTFILE.TXT[N]
>
> Realia permits oodles of other file types, too.
> [V]ariable
> [C]ompressed
> [F]ixed length
> [D] - Fixed length with delete byte
> [R]elative
> [B]yte stream
> [X] - Indexed
>
>
>

Thanks for the info, your reply is greatly appreciated


Report this thread to moderator Post Follow-up to this message
Old Post
Ray Bletko
09-27-06 12:55 PM


Re: Realia Cobol
Validate/write registers that would be in a server, acceded by Hi-Fi for
example.

Many thanks

"Ray Bletko" <rb@yahoo.com> wrote in message
news:Xns984B40C56AC7Frb@70.168.83.30...
> "HeyBub" <heybubNOSPAM@gmail.com> wrote in
> news:12hjls4g9ashe50@news.supernews.com:
> 
>
> Thanks for the info, your reply is greatly appreciated
>



Report this thread to moderator Post Follow-up to this message
Old Post
Euromercante
09-28-06 11:55 PM


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 08: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.