To change the versions a view selects on the UNIX system or Linux, use
the following procedure to add, remove, or otherwise modify the version-selection
rules of your view.
Do one of the following:
If you work in a dynamic view, type the following command:
cleartool setview view-tag
.
If you work in a snapshot view, change to the root directory of the
view.
Type the following command:
cleartool edcs
The config spec of the view opens in your default text editor. For information
about changing the default editor, see the env_ccase reference page in the
Command Reference.
In your text editor, do any of the following:
Copy or insert the rules for your project into the config spec. The
rules may be available in a text file accessible over the network, or even
through e-mail. Verify with the author of the shared config spec whether you
need to include any rules other than the ones you paste.
Type on its own line include path-to-shared-config-spec. Verify with
the author of the shared config spec whether you need to include any rules
other than the include rule.
If you are familiar with how to create version-selection rules and
you have permission to do so, create your own rules.
Note: Rather than create your own config spec with an include rule,
you can use cleartoolsetcs to use some
other config spec directly. For more information, see the setcs reference
page in the Command Reference.
Do one of the following, depending on your view type:
If you work in a snapshot view, create or modify load rules.
If you work in a dynamic view, do the following:
Save the config spec and exit the text editor.
In your shell, answer Yes at the prompt for setting the config spec.