The chview command changes various properties of a view, including the cache size, the type of DOs the view creates, and the access mode. The view server can be running when you enter this command.
The –shareable_dos and –nshareable_dos options change the properties of the derived objects (DOs) created by future builds in the dynamic view. Shareable DOs are available for winkin by other views; nonshareable DOs are not available for winkin by other views. Both kinds of DOs have configuration records, but clearmake does not write shopping information for nonshareable DOs into the VOB. For more information about shareable and nonshareable DOs, see the IBM Rational ClearCase Guide to Building Software.
Using the –shareable_dos or –nshareable_dos option does not change the properties of the existing DOs in the view. To make a nonshareable DO shareable, you must use the winkin command. You cannot make a shareable DO nonshareable.
The –readonly and –readwrite options change the access mode for the view's private data-storage area. By default, views have read-write access. If you change a view's property to read-only, you cannot use the view to perform any operation that creates new files in view-private storage (for example, checkouts or builds).
Changing a view's property to read-only does not prevent users from changing the view's config spec. For information about restricting changes to the config spec, see the mkview reference page.
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 chview –cachesize 500k smg_test
The new view server cache limits are:
Lookup cache: 49152 bytes
Readdir cache: 204800 bytes
File stats cache: 86016 bytes
Object cache: 172032 bytes
Total cache size: 512000 bytes
cmd-context chview –nshareable_dos –cview
Properties: nshareable_dos