IPnom Home • Manuals • ClearCase

 Rational ClearCase Commands Reference

ClearCase Stuff:ClearCase LinksClearCase BooksClearCase Commands ReferenceClearCase ForumsClearCase News
Keyword Live Search (10 results max):
 Type in part of a ClearCase command in the search box.
Commands Index:


Deactivates a view


ProductCommand type
ClearCasecleartool subcommand
ClearCase LTcleartool subcommand



endview [ –ser·ver ] view-tag


Deactivates the specified view. The exact behavior varies according to the kind of view.

We recommend against deactivating a view for the purpose of backing it up.

Dynamic 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 disappears from 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 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/Windows environment, any NFS drive that was mounted to support access to the view storage directory gets unmounted (assuming no other active views or VOBs require it).

Caution: Processes set to or associated with a view are stranded if you deactivate that view without exiting the processes. This can cause MVFS activities to fail. To recover from this situation, use startview or setview to restart the view on all computers that were using it, or kill the processes manually with the UNIX kill command or the Windows Task Manager. To avoid this situation, follow these guidelines:

  • Before you run endview (without –server) on your computer, exit all processes on your computer that are set to or associated with the view, including any processes started by other users. Any processes that are running when you deactivate the view will be stranded.
  • Before you run endview –server, exit all processes set to or associated with the view, including processes on other computers and/or processes started by other users.

Snapshot View

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 or ClearCase LT 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.


With the –server option, you must have permission to modify the view.


Stopping the View Server

endview does not stop the view's view_server process; the view remains accessible from other network hosts.

Terminates the view's view_server process.

Specifying the View to Deactivate

None. You must supply a view tag.

Deactivates view view-tag if view-tag specifies a dynamic view. If view-tag specifies a snapshot view, -server must also be specified to deactivate the view.


The UNIX 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 shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.

  • Deactivate the dynamic view r3_main on the local host. Do not terminate the view_server process.

    cmd-context endview r3_main 

  • Same as previous example, but terminate the view_server process, making the view temporarily unavailable to all hosts.

    cmd-context endview –server r3_main 

  • Stop and restart the dynamic view alh_main, which is currently assigned to drive W.

    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.

  • Deactivate the snapshot view r4_main.

    cmd-context endview –server r4_main 


startview, Administrator's Guide



ClearCase Links • ClearCase Books • ClearCase Commands Reference • ClearCase Forums • ClearCase News