Jeff I'm trying to access a file and VMS is saying it is locked by another user. Any thoughts on how I might be able to find out who the user is? Matthew Tripp |
Hello Matt ... Yes! You can find out the process that
currently has the file open. Assuming you have system privs,
do these steps. 1. First determine which device the file
is on. Let's say it's on device DRA0: 2. If you are not in a cluster, but just
a single node, then enter in the command: 3. If you are in a cluster then use these
commands : The SHOW DEVICE/FILES command
will show all the files open on a particular device for the
node that the command is issued on, and the owning process.
If you are in a cluster on node AAA and a user has the file
open on node BBB. The SHOW DEVICE/FILES command
will not show the user who has it open. You have to be
logged on to node BBB. That's why we used SYSMAN in the
cluster configuration. I hope this helps. Jeff Cameron
$SHOW
DEVICE/FILES DRA0:
$MCR
SYSMAN
SYSMAN>SET ENVIRONMENT/CLUSTER
SYSMAN>DO SHOW DEVICE/FILES DRA0:
DCL | Utilities | Management | Tips