additionally,<br>
( I have not played with FLOCK much, but.....)<br>
it appears that you are trying to 'flock' a file handle that does not exist. The output file you are trying to 'lock' is attached to handle 'OUT'. You then try to lock and seek on handle 'OUT<font color=red>F</font>'. I...