export and writing the file to the disk

Kenneth Brody kenbrody at bestweb.net
Fri Sep 9 13:56:11 PDT 2005


Quoting Dennis Malen (Fri, 9 Sep 2005 16:16:15 -0400):

> Hello everyone,
>
> Just found this problem. I am not sure if it is filePro or UNIX problem.
> I am on 4.8 filePro and AIX Unix.
>
> Here's the problem. I have an output processing table that creates an
> ascii file with "export ascii". It is a fixed length ascii file being
> created. The file is written to the disk correctly. All information is
> correct and intact. We'll call this fileone. In the next line I use:
>
> system "cp /tmp/fileone /tmp/filetwo"
>
> When I view fileone it has all the info in it. When I view filetwo its
> has 3/4's of the file but not the whole file.
[...]

It's called "buffered I/O".  The data is still in the buffers.  If
you're finished exporting, and want to have some external program
use the file, CLOSE the export to flush the buffers and close the
file.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list