Can you not just remove the file and then touch a new one?

One of the things I've been doing is to open the directory via a
directory-type file (DIR in Unidata, type 1 in Universe) and delete
the record via the directory file, then OPENSEQ the output file. This
eliminates the need for operating system specific commands in the
program.

Just a thought.

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jimi DeRouen
Sent: Tuesday, October 05, 2004 9:45 AM
To: [EMAIL PROTECTED]
Subject: [U2] documentation for programs in /UV/UV/BIN

Could someone please point me to documentation for the executables
contained in uv/uv/bin. I am using the touch.exe to create a file used
as a container for a tab-delimited file output by WRITESEQ. I thought
the touch command would recreate the file upon each execution, but
have discovered that I am overwriting the previous iteration of the
file. If the current output does not exceed the length of the previous
iteration, I end up with some of the data from the previous iteration
"appended" to the bottom of the current output. I would like to know
if there is a switch or usage of touch.exe that ensures I am starting
each time with an empty container.

Universe 9.5.1.1b
W2K SP4

Thanks for your assistance.


Jimi DeRouen
Systems Analyst
[EMAIL PROTECTED]
ABC-CLIO
PO Box 1911
Santa Barbara CA 93116-1911
805-968-1911 x150
fax 805-685-9685
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to