The OpenFiles utility has three modes of operation, DISCONNECT, QUERY,
and LOCAL, which are discussed in the sections that follow.
Disconnect
This mode disconnects a user or closes a file. You can use this mode to force a closure. In some cases,
you might find this necessary when an application terminates abnormally and leaves the file in an
uncertain state. This mode uses the following syntax:
OPENFILES /Disconnect [/S system [/U username [/P [password]]]]
{[/ID id] [/A accessedby] [/O {Read | Read/Write | Write}]}
[/OP openfile]
The following list describes each of the command line arguments.
WARNING Always disconnect users or close files with care. Pursue every other possible means
of disconnecting the user or closing the file before you use the DISCONNECT mode. Disconnecting
users or closing files using this technique may corrupt the data file or cause the application to
lose data because this method doesn??™t consider any of the data that appears in the application
cache.
/S system Specifies the remote system that you want to check. In most cases, you??™ll also need
to supply the /U and the /P command line switches when using this switch.
Pages:
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980