Home > Archive > Cobol > September 2006 > Realia Cobol
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Ray Bletko 2006-09-26, 9:55 pm |
| 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.
| |
| HeyBub 2006-09-26, 9:55 pm |
| 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
| |
| Ray Bletko 2006-09-27, 7:55 am |
| "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
| |
| Euromercante 2006-09-28, 6:55 pm |
| 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
>
|
|
|
|
|