DECUS Essential Tools Collection, 1996 for OpenVMS Alpha and OpenVMS VAX (VS0174)
clrref() - Clear device reference count
If you've ever seen a LAT port owned by a nonexistent process,
you've wondered how to eliminate it without a system reboot.
This program will assign a channel to a device, set the ownership
to be its own, set the reference count down to 1, and then deassign
the channel. Poof, magic, it's all fixed. Of course crashes could
occur if any outstanding I/O ever completes, but that's the beauty
of VMS.
Usage:
$ clrref == "$location:clrref.exe"
$ clrref [device]
Ehud Gavron gavron@Spades.ACES.COM
Click on FTP to download from the FTP archives.
![[FTP]](http://www2.encompassus.org/hidedecus/graphics/i_ftp.gif)