Archives of the TeradataForum
Message Posted: Mon, 08 Jul 2002 @ 18:15:46 GMT
| Subj: || || Re: Unix file locking |
| From: || || Geoffrey Rommel |
| ||As far as I know it is not possible using "native" csh, ksh or shcommands.|| |
But, if the application is fairly simple, you could write your own tiny C program to do the file locking and call it as a Unix
command. I once wrote a small program to lock a log file, append one record to it, and then release the lock. If you would like to see the
code, write to my e-mail (not the list).