export fixed length file

Greg Widdows lwiddows at bellsouth.net
Mon Nov 14 09:48:35 PST 2005


Kenneth Brody wrote:
> 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
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
> 
> 

I tried appending to a file using export WORD on 5.0.13R4 SCO Unix.

export word act = /tmp/grexp -a

It doesn't seem to work. Why?

Thanks,
Greg

P.S. The Append option for export Word appears in the Help file.



More information about the Filepro-list mailing list