I understand that this will Truncate the file but should it be truncating it when it is opened? I want it to truncate on write of data. Is there something different that I need to do to make that work? I inadvertantly left out of the code supplied previously that in the else I printf file_name "1"; to lock the file if it wasnt locked. So another Process cannot access it while This one is using it. I am essentially serializing a Parallel Process with these locks because it has to be due to database and workfile access.
In reply to Re^2: File Read
by rheaton
in thread File Read
by rheaton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |