WHERE - tell where a file is currently accessed.

Syntax:

where filename [+Force] [+Privilege]

Examples:

where expl/news
where +f expl/news

Options:

+Force
searches TSS for users even if the file's busy counts are zero.
+Privilege
lets a LODS user check use of the file even if you do not have read permission on the file.

Description:

WHERE displays a list of TSS users who are using a file. You cannot use WHERE on a file unless you have at least Read permission on the file. You cannot use WHERE on a temporary file, since temp files can never be accessed by another user.

If the file system indicates that the file is not accessed, WHERE tells you that the file is not currently busy. You can use +Force to force WHERE to search TSS anyway.

WHERE prints the userid, line id, and the permissions granted to each user found accessing the file. In the case of a DRUN user, WHERE displays the drun id instead of the line id. If the file is accessed under an altname, WHERE displays the altname in case you want to ask the user to remove the file by that name.

WHERE only searches the current copy of TSS. If the file is in use by a batch job, by a user in another copy of TSS, or by another system on a shared mass store system, WHERE only displays the busy counts.

Copyright © 1996, Thinkage Ltd.