export fixed length file

John Esak john at valar.com
Thu Nov 10 17:45:16 PST 2005


Unfortunately, he uses AIX, remember. He'll have to wait until the new
release to get the -a with the -x. Isn't he locked to 4.8?

But, truly, the simplest of i/o routines could do just what he wants very
easily.  AYWK, WAITY?

John

John

> -----Original Message-----
> From: filepro-list-bounces at lists.celestial.com
> [mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Kenneth
> Brody
> Sent: Thursday, November 10, 2005 7:48 PM
> To: Dennis Malen
> Cc: filepro-list at lists.celestial.com
> Subject: Re: Re: export fixed length file
>
>
> 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



More information about the Filepro-list mailing list