Updates the format of a view database
ClearCase (cleartool subcommand), Attache (command)
The reformatview command changes the format of a view database from that used in a previous ClearCase release to the current format. A view database is a set of binary files in the db subdirectory of the view storage directory. A new release may use a different database format to support new product features, to enhance storage efficiency, or to improve performance.
View database conversion involves two major steps:
NOTE: This does not overwrite the old, invalid view database; it remains in the view storage directory, as db.dumped, until you explicitly delete it with a standard operating system command.
A view's view_server process detects the need for reformatting and displays a message to this effect. reformatview itself writes status messages to ccase-home-dir\var\log\view_log, not to stdout or stderr.
You can also use reformatview to move a view storage area between hosts of different architectures-that is, hosts on which there are differences in the binary files that implement the view database.
In the case of a dynamic view, if the view database requires recovery, some information may be lost in the dump/load process. In addition, some view-private files may be moved into the view's lost+found directory. See the recoverview reference page for details.
In the case of a snapshot view, the lost information may included loaded files as well as view-private files (and snapshot views have no lost+found directories).
Permissions Checking: No special permissions required. Locks: No locks apply.
FORCING A DUMP. Default: If a view's database does not require reformatting (it is up to date), reformatview displays a message and takes no other action; if the database is out of date, reformatview performs a dump, then a load.
SPECIFYING THE VIEW. Default: None.
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 reformatview -tag jackson_old
cmd-context reformatview C:\home\jackson\ccviews\fix.vws
ccase-home-dir\var\log\view_log
|
Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved. |