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:


Creates an entry in the VOB or view object registry.


ProductCommand type
ClearCasecleartool subcommand
ClearCase LTcleartool subcommand



  • ClearCase—Register a view:
    reg·ister –vie·w [ –rep·lace ]
    [ –hos·t hostname –hpa·th host-storage-pname ]

  • ClearCase—Register a VOB:
    reg·ister –vob [ –ucm·project ] [ –rep·lace ]
    [ –hos·t hostname –hpa·th host-storage-pname ] vob-storage-pname

  • ClearCase LT—Register a view:
    reg·ister –vie·w [ –rep·lace ] view-storage-pname

  • ClearCase LT—Register a VOB:
    register –vob [ –ucmproject ] [ –replace ] vob-storage-pname


The register command creates or replaces an entry in VOB or view object registries. The registries enable clients to determine the physical storage locations of VOBs and views they access. Note that register has no effect on the VOB or view tag registries. You can also use register to update an existing registry entry, or to re-register a VOB or view that was temporarily removed from service with unregister.

Other Commands That Affect Registries

The mkview and mkvob commands add an entry to the appropriate registry; the rmview and rmvob commands remove registry entries. You can use the unregister command to remove an existing entry. The reformatvob command updates a VOB's object registry entry (or creates one, if necessary).




View/VOB Specification


Registers a VOB storage directory.

Marks a VOB as a UCM project VOB in the registry.

Registers a view storage directory.

Overwriting an Existing Entry

An error occurs if the view or VOB storage directory already has an entry in the registry.

Replaces an existing registry entry. (No error occurs if there is no preexisting entry.)

Specifying the Location of the Storage Directory


The path to the view storage; to determine the path, use lsview.

The path to the VOB storage; to determine the path, use lsvob.

Specifying Network Accessibility

Values are derived from the view-storage-pname or vob-storage-pname arguments.

–hos·t hostname, –hpa·th local-pname
See the mkstgloc reference page for descriptions of how to use these options.

To register a VOB or view that resides on a supported network-attached storage (NAS) device, you must specify the option set, –host –gpath. (NAS devices must be specially configured for use with ClearCase. For more information, see the Administrator's Guide.)


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.

  • Register a VOB storage directory that was previously unregistered with the unregister –vob command.

    cmd-context  register –vob /vobstore/vob2.vbsfs 

  • Register a view storage directory.

    cmd-context  register –view –host host2 –hpath C:\vw_store\view3.vws ^
    –gpath \\host2\vw_store\view3.vws\\host2\vw_store\view3.vws

  • Replace the existing registry entry for a VOB storage directory, explicitly specifying the access path information.

    cmd-context register –vob –replace –host corona –hpath /vobstg/tests.vbs \
    –gpath /net/corona/vobstg/test.vbs /vobstg/test.vbs



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