export fixed length file

Kenneth Brody kenbrody at bestweb.net
Thu Nov 10 16:47:53 PST 2005


Quoting Dennis Malen (Thu, 10 Nov 2005 14:44:18 -0500):

> Ken,
>
> Thanks for your response. I failed to inform the list with my post that
> this is not a report format. The requirement of this processing was that
> I needed to append information to a file many times during the day. I
> therefore was not able to use the -x.
[...]

Why not?  This works just fine for me on 5.0.14D4, as it both appends
and uses fixed-length fields.

  1  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If:
       Then: end
  2  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -
@entsel  If:
       Then: show "\{T}-Test export -a -x"
  3  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If:
       Then: end
  4  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -
@keyT    If:
       Then: export ascii foo=/tmp/foo.txt r=\n -a -x
  5  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If:
       Then: foo[1] = 1 ; foo[2] = 2 ; foo[3] = @tm
  6  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -
         If:
       Then: end

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list