Creates an entry in the vob_object or view_object registry file, or register a global VOB or view storage location
ClearCase (cleartool subcommand), Attache (command)
With -vob or -view, register creates or replaces an entry in the vob_object registry file or the view_object registry file:
ClearCase and Attache use these registries to determine the physical storage locations of VOBs and views. In most commands, you reference a VOB or view with its VOB-tag or view-tag. Note that register has no effect on the vob_tag or view_tag registry files. 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.
With -vobstorage or -viewstorage, register creates an entry in the ClearCase registry for a global VOB or view storage location on a ClearCase server. These locations are then available to users who cannot create VOB and view storage directories on their ClearCase client hosts. When a user creates a VOB or view with the VOB Creation Wizard or View Creation Wizard, these paths are displayed in the list of storage locations.
To remove a global storage location from the registry, use the unregister command.
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 vob_object registry entry (or creates one, if necessary).
Permissions Checking: No special permissions required. Locks: No locks apply.
VIEW/VOB SPECIFICATION. Default: None.
OVERWRITING AN EXISTING ENTRY. Default: An error occurs if the view or VOB storage directory already has an entry in the registry.
SPECIFYING THE LOCATION OF THE STORAGE DIRECTORY. Default: None. You must specify a VOB or view storage directory. In rare cases, you may need to specify host-local and global access path information as well.
SPECIFYING THE GLOBAL STORAGE LOCATION. Default: Registers storage-global-pname in the default network region of the user entering the command.
Examples including 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 command interpreter prompt. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.
cmd-context register -vob \\host1\vbstore\vob2.vbs
cmd-context register -view -host host2 -hpath C:\vw_store\view3.vws ^
-gpath \\host2\vw_store\view3.vws \\host2\vw_store\view3.vws
cmd-context register -viewstorage \\eng1\share\viewstg
ccase-home-dir\var\rgy\vob_object
ccase-home-dir\var\rgy\view_object
ccase-home-dir\var\rgy\storage_path
lsstorage, mktag, mkview, mkvob, mount, umount, unregister, registry_ccase
|
Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved. |