Use this form of the command to remove a view completely. Complete removal of a view entails the following:
Be sure that the current working directory is not within the view storage area that you are deleting.
By default, rmview refuses to delete a view if any element is checked out to that view. You can override this behavior with the –force option.
rmview does not allow you to remove your current set view or working directory view (the view in which you are executing rmview). However, you can remove a view (set view or working directory view) that you are currently using if you issue the rmview command from a shell in which you are not using the view.
Use this form of the command in either of these situations:
To remove view-related records only, use rmview and specify a view by its UUID (universal unique identifier; see the View UUIDs section). Despite being invoked as rmview, this form of the command has no effect on any view or view_server process, only on the specified VOBs.
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 rmview –force –uuid 249356fe.d50f11cb.a3fd.00:01:56:01:0a:4f
Removed references to VIEW "host2:\users\vbstore\tut\old.vws"
from VOB "\users_hw".
cmd-context rmview -tag ~usr1/test_ssview.dir
VOB "/tmp/testvob" still has check-outs.
Remove view "/net/peroxide/export/home/usr1/test_ssview.dir/.view.stg"
anyway? [no] yes
Removing references from VOB "/tmp/testvob" ...
Removed references to view
"/net/peroxide/export/home/usr1/test_ssview.dir/.view.stg"
from VOB "/tmp/testvob".
cleartool, config_ccase, describe, env_ccase, lsview, mktag, mkview, net use, rmtag, subst, unregister, IBM Rational ClearCase Administrator's Guide