Code Comments
Programming Forum and web based access to our favorite programming groups.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.
Post Follow-up to this messageRay 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
Post Follow-up to this message"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
Post Follow-up to this messageValidate/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 >
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.