setcs

Sets the config spec of a view

APPLICABILITY

ClearCase (cleartool subcommand), Attache (command)

SYNOPSIS

setcs [ -tag view-tag ] { -cur·rent | -def·ault | pname | -stre·am }

DESCRIPTION

This command does not require a product license.

The setcs command changes the config spec of a view to the contents of a user-specified or system-default file, or causes the view's associated view_server process to flush its caches and reevaluate the current config spec. The Attache workspace is not updated to reflect any changes in the view's contents.

See the pwv reference page for more on view contexts. See the config_spec reference page for a complete discussion of config specs.

PERMISSIONS AND LOCKS

Permissions Checking: No special permissions required. Locks: No locks apply.

OPTIONS AND ARGUMENTS

SPECIFYING THE VIEW.  Default: Reconfigures the current view.

-tag view-tag

The view-tag of any dynamic view; the view need not be active. To set the config spec of a snapshot view,you must be in or under the snapshot view root directory (and accordingly you do not use this option). However, you can use this option to set the config spec of a dynamic view from within a snapshot view.

SPECIFYING THE KIND OF CHANGE.  Default: None.

-cur·rent

Causes the view_server to flush its caches and reevaluate the current config spec, which is stored in file config_spec in the view storage directory. This includes:

  • Reevaluating time rules with nonabsolute specifications (for example, now, Tuesday)
  • Reevaluating -config rules, possibly selecting different derived objects than previously
  • Re-reading files named in include rules
-def·ault

Resets the view's config spec to the contents of ccase-home-dir\ default_config_spec, the host's default config spec (ClearCase) or the helper host's default config spec (Attache).
pname

Specifies a text file whose contents are to become the view's new config spec.
-stre·am

For a UCM view, sets the view's config spec to that defined by the stream it is attached to. This operation preserves any load rules already in the view's config spec.

EXAMPLES

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 setcs cspec_REL3
cmd-context setcs -tag jackson_vu -default
cmd-context setcs -current

SEE ALSO

attache_command_line_interface, catcs, config_spec, lsview, mktag, mkview, pwv, update, view_server



Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved.