Export file and the use of Append -a
John Esak
john at valar.com
Tue Oct 19 03:06:34 PDT 2004
> -----Original Message-----
> From: filepro-list-bounces at lists.celestial.com
> [mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Bob
> Stockler
> Sent: Monday, October 18, 2004 11:49 PM
> To: filePro mailing list
> Subject: Re: Export file and the use of Append -a
>
>
> On Mon, Oct 18, 2004 at 10:44:25PM -0400, John Esak wrote:
> |
> | This was a little confusing to me, too. He mentioned
> "fixed-length" (which
> | is -X as far as I know) and then he mentioned earlier that you
> said he could
> | not use -X with -a. (why?) And wouldn't the -X give him the
> record ending
> | all by itself (no need for th chr("10") thing? I'm still
> confused... and I
> | thought I _kenw_ this stuff. :-)
>
> Until 5.0.14 EXPORT ASCII did not support -X and -A on
> the same command line. Whichever of -X or -A came first
> on the line would be observed, the other ignored.
>
> The work-around before 5.0.14 was to build an export line
> by hand if you wanted to use -A.
>
> That meant having to use & to join fixed-length fields (real
> or dummy) to build a line to be exported, terminated with:
>
> & chr("10")
>
> so they ended with a newline character.
>
> More clear now?
>
> Bob
>
> --
> Bob Stockler - bob at trebor.iglou.com
Yes, much. I'm glad I never had the occasion to need -a... or I would have
wondered why -X and -a could not go together! Now, it is no problem, eh?
Good. Still hve no conceivable use for -a... but I'm sure there is a need
for it, or it wouldn't be in the tool set.
Heck, that's okay... I've never once used Fuzzy Search and it somehow has a
place on the Main Menu.
John
More information about the Filepro-list
mailing list