Export file and the use of Append -a

Bob Stockler bob at trebor.iglou.com
Wed Oct 13 17:59:38 PDT 2004


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).


More information about the Filepro-list mailing list