edcs

Edits the config spec of a view

APPLICABILITY

ClearCase (cleartool subcommand), Attache (command)

SYNOPSIS

DESCRIPTION

This command does not require a product license.

The Edit Session

The edcs command revises a view's config spec by invoking a text editor on an existing config spec (ClearCase) or by downloading a config spec into a temporary file and invoking a text editor on an existing config spec (Attache). The config spec can be one of the following

In ClearCase, the text editor invoked by edcs is specified by the VISUAL environment variable; if this EV is not set, edcs uses the value of the EDITOR environment variable. If neither EV is set, edcs invokes the Notepad.

After the Edit Session

At the end of the edit session, there is a confirmation step. For dynamic views, this prompt is:

Set config spec for view "view-tag"? [yes]

For snapshot views, this prompt is:

Set config spec and load snapshot view "view-tag"? [yes]

If you answer yes:

If you answer no, the command is canceled; the view retains its current config spec.

PERMISSIONS AND LOCKS

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

OPTIONS AND ARGUMENTS

SPECIFYING THE VIEW.  Default: Edits and sets a config spec for the current view.

-tag view-tag

The view-tag of any dynamic view; the view need not be active.
NOTE: To edit the config spec of a snapshot view, you must be in that view. However, in a snapshot view, you can use this option to edit the config spec of a dynamic view.

SPECIFYING THE CONFIG SPEC FILE.  Default: Edits the view's current config spec.

file

The pathname of a file to be used as input to the edit session.

  • (ClearCase only) If the file does not exist, edcs creates it.
  • (Attache only) If the file does not exist locally, edcs downloads it if it exists remotely, or creates it locally if it does not exist. The named file is saved both locally and remotely. Both the local and remote temporary files are deleted after the file has been uploaded.

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 edcs
cmd-context edcs -tag jackson_fix
cmd-context edcs cspec_rel3

SEE ALSO

attache_command_line_interface, attache_graphical_interface, catcs, config_spec, lsview, mktag, setcs, update



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