Deactivates the specified view. The view tag must be registered in the same region as that of the host at which this command is issued. If the view tag is registered in another region, this command reports that the view tag cannot be found. Do not deactivate a view for the purpose of backing it up.
The exact behavior of this command varies according to the kind of view.
The endview command deactivates the dynamic view. It removes all references to the view from the MVFS on the current host. The view tag is no longer displayed in the MVFS directory (on Windows this directory is, by default, M:\). The –server option terminates the view's view_server process. Without –server, endview does not affect the view's availability from computers other than the current one. For information about view_server, see the IBM Rational ClearCase Administrator's Guide.
If a Windows drive was assigned to the view, the drive is marked unavailable in the drive table (see the Windows net use command) and can be reused.
In a mixed UNIX, Linux, and Windows environment, any NFS drive that was mounted to support access to the view storage directory is unmounted (assuming no other active views or VOBs require it).
To avoid this situation, follow these guidelines:
When issued with the -server option, endview ends the view's view_server process on the host where the view-storage directory resides. Any ClearCase command issued from the view-storage directory restarts the snapshot view's view_server process.
endview used without the -server option has no effect on a snapshot view.
The UNIX system and Linux examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.
The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the UNIX system and Linux shells or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.
cmd-context endview alh_main
cmd-context startview alh_main
net use
...
Unavailable W: \\view\alh_main ClearCase Dynamic Views
...net use w: \\view\alh_main
Command completed successfully.