Fw: export and writing the file to the disk
Dennis Malen
dmalen at malen.com
Fri Sep 9 14:01:42 PDT 2005
The answer to the problem was using a close statement after it wrote the
file.
Thanks to John Esak and Ken Brody who are the winners of this week's speedy
response award.
Thanks guys!
I love this list.
Dennis
----- Original Message -----
From: "Dennis Malen" <dmalen at malen.com>
To: <filepro-list at lists.celestial.com>
Sent: Friday, September 09, 2005 4:16 PM
Subject: export and writing the file to the disk
> 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.
>
> Obviously I have a timing issue. I tried creating fileone in a call
> processing table thinking it would slow up the system before it gets to
> the copy command in the main processing table. No such luck! When I create
> fileone I do use the "write fileone" command for each line so the line
> being send should be appended immediately.
>
> I'm sure someone has had a similar problem and can suggest a fix. It would
> be most appreciated.
>
> Regards,
>
> Dennis Malen
> 516.479.5912
More information about the Filepro-list
mailing list