Removes a view-tag or a VOB-tag from the networkwide storage registry
Product | Command Type |
---|---|
ClearCase | cleartool subcommand |
ClearCase LT | cleartool subcommand |
Attache | command |
Platform |
---|
UNIX |
Windows |
ClearCase and Attache-Remove a view-tag:
ClearCase and Attache-Remove a VOB-tag:
ClearCase LT-Remove a view- or VOB-tag:
The rmtag command removes one or more entries from the network's view-tag registry or vob-tag registry. See the Administrator's Guide for a discussion of the registries. You cannot remove a tag that is currently in use.
A VOB-tag is in use if the VOB is active on any host in the network region. Use the cleartool or Attache umount command to deactivate a VOB on all hosts in the region before removing its tag.
A view-tag for a dynamic view is in use if any user process is set to the view specified by this tag, or if any user process has a current working directory that is a view-extended pathname based on this tag.
A VOB or view must always have a tag in its home region: the network region of the host where the VOB or view storage directory physically resides. If you remove a home-region tag, create a new one immediately.
You must supply the network's VOB-tag password when deleting a public VOB-tag; if you don't use the -password option, you are prompted for the password. See the rgy_passwd reference page for information on the VOB-tag password.
SPECIFYING THE KIND OF TAG. Default: None.
SPECIFYING A NETWORK REGION. Default: Removes tags that are defined for the local host's network region. (Use the hostinfo -long command to list a host's network region.) See the Administrator's Guide for a discussion of network regions.
SPECIFYING THE VOB-TAG PASSWORD. Default: If you attempt to remove a public VOB-tag, rmtag prompts you for the VOB-tag password. (See also rgy_passwd.)
SPECIFYING THE TAGS. Default: None.
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. In Attache, cmd-context represents the workspace prompt.
NOTE: In the UNIX examples that follow, arguments and output that show multicomponent VOB tags are not applicable to ClearCase LT, which recognizes only single-component VOB tags. In this manual, a multicomponent VOB tag is by convention a two-component VOB tag of the form /vobs/vob-tag-leaf-for example, /vobs/src. A single-component VOB tag consists of a leaf only-for example, /src. In all other respects, the examples are valid for ClearCase LT.
Remove the view-tag R2alpha from the view registry.
cmd-context rmtag -view R2alpha
Remove the VOB-tag /vobs/tests from all network regions.
cmd-context rmtag -vob -all /vobs/tests
mktag, mkview, mkvob,rgy_passwd, rmview, rmvob
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |