Export file and the use of Append -a

Dennis Malen dmalen at malen.com
Thu Oct 14 09:05:12 PDT 2004


Bob,

Not quite sure I understand the "by Hand" part. For the fixed length export
part of the processing I am defining a dummy field such as "aa(10,*)=7" and
then a write comment and then a close command. Does this satisfy your "by
hand" comment? Do I delete the "-X"? and keep the -A. If I use a "write"
command how do I apply "\n" in the processing.

Dennis

----- Original Message -----
From: "Bob Stockler" <bob at trebor.iglou.com>
To: <filepro-list at lists.celestial.com>
Sent: Wednesday, October 13, 2004 8:59 PM
Subject: Re: Export file and the use of Append -a


> On Wed, Oct 13, 2004 at 05:14:35PM -0400, Dennis Malen wrote:
> | This is my problem. I have clients that I report to with the use of an
> | Export Ascii file. The files could be one of three types:
> |
> | 1. Fixed Length
> | 2. Tab Delimited
> | 3. Comma Delimited
> |
> | The following are my definitions for each:
> |
> | 1. export ascii rnf=(pn) r=\r r=\n -x -a
>
> >From Laura's Help Files:
>
>  Enhanced: v4.0 - "-A" flag to append data to an existing ASCII or WORD
file.
>            This flag can not be used with other flags such as "-X".
>
> >From Stockler's memory;
>
>  If both -A and -X appear on an EXPORT ASCII line, whichever
>  one appears first will be observed and the other ignored.
>
> If you want to export fixed length fields and append to a file,
> build the line to be exported by hand and use -A alone.
>
> Bob
>
> PS - Building "by hand" means:
>
>        Then: Line = 1 & 3 & 7 & 12 & "\n"
>
>      or something lile that to export "Line" in fixed kength
>      fields.
>
> --
> Bob Stockler - bob at trebor.iglou.com
> Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User
Menus.
> Fully functional (time-limited) demos available by email request (specify
OS).
> _______________________________________________
> 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