export write delays
Doug Luurs
doug at borisch.com
Tue Mar 20 07:54:31 PDT 2007
Filepro 5.6.06R4 running on SCO Openserver 6.0
I am using a "EXPORT ASCII" command for a tab delimited file to write
some data,
and it works fine as long as I where to wait until the program is
completely done
Running.
However .. If I try to do something with the file with a "@DONE"
command within the processing, it is like the last 2-2.5k of the file is
Never wrote yet. I have tried to SYNC and close the file, and the the
last
2-2.5k of data never appears until after the program is done running.
Any ideas ?
----------- Code Snipets ----------
(ALL THENs)
pn(50,*,g) = "/tmp/" ; fn(50,*,g) = "mrp2-daily"
export ascii exl = (pn { fn { ".tsv") R=\n F=\t
exl(1) = 1 ; exl(2) = 4 ; exl(3) = 5 ; exl(4) = (4+5) * 19
write exl
end
@Done
sync
close
system "sleep 10"
system scp /tmp/mrp2-daily.tsv
somewhere at someserver:/incoming/mrp2-daily.tsv"
End
--------------------------------------
Doug Luurs
Borisch Mfg Corp
616-554-9820 ext 143
--
These commodities/technical data are controlled under the United States Export
Regulations and may not be exported to a foreign person, either in the U.S. or
abroad, without the proper authorization of the U.S. Department of State or the
U.S. Department of Commerce. Please contact Borisch Manufacturing Corporation
for commodity classification and jurisdiction.
This E-mail, including any attachments, may contain confidential
information and is intended solely for use by the individual to whom
it is addressed. If you received this E-mail in error, please notify
the sender, do not disclose its contents to others, and delete it
from your system. Any other use of this E-mail and/or attachments
is prohibited. This message is not meant to constitute an electronic
signature or intent to contract electronically.
More information about the Filepro-list
mailing list