export and writing the file to the disk

John Esak john at valar.com
Fri Sep 9 13:22:58 PDT 2005


Dennis,
You are on the right track with the WRITE's... they are a good idea...
However, when yo are completely done exporting the file, issue a CLOSE
statement. A generic CLOSE by itself will do, or use CLOSE "filename"
whatever it is you are exporting to... This will ensure that the next thing
you do can access the ENTIRE file as you've written it.

John Esak


> -----Original Message-----
> From: filepro-list-bounces at lists.celestial.com
> [mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Dennis
> Malen
> Sent: Friday, September 09, 2005 4:16 PM
> To: filepro-list at lists.celestial.com
> 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
>
>
> _______________________________________________
> 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