U0012@DGOGWDG5.BITNET ("GWDGV1::MOELLER") (05/14/88)
> ... Chris Tenaglia <astroatc!tenaglia@SPEEDY.CS.WISC.EDU> asked ... >Does anyone have a spiffy technique in DCL to check whether a file is >locked by another user or not? ... What I have done so far in order to detect files open for writing (I think the question aims at that) is $ open/append/error=file_open dummy <filespec> $ close dummy $file_not_open: ... $file_open: I don't think this is a general solution, but for me it worked. I'd love to have the information from $ SHOW DEVICE/FILES on open files available in a form other than a listing file. Any ideas? Wolfgang J. Moeller, GWDG, D-3400 Goettingen, F.R.Germany | Disclaimer ... Bitnet/Earn: U0012@DGOGWDG5 Phone: +49 551 201516 | No claim intended