catcs

Displays the config spec of a view

APPLICABILITY

ProductCommand type
ClearCasecleartool subcommand
ClearCase LTcleartool subcommand

Platform
UNIX
Windows

SYNOPSIS

catcs [ –tag view-tag ]

DESCRIPTION

The catcs command displays a view's config spec. This command does not require a product license.

In a dynamic view, if the working directory view differs from the set view (sometimes established with the setview command), catcs displays a warning and uses the working directory view. You cannot set a snapshot view; therefore, there is no distinction between the working directory view and the set view.

RESTRICTIONS

None.

OPTIONS AND ARGUMENTS

Specifying the View

Default
  Displays the config spec of the current view.

–tag view-tag
The view tag of any view; the view need not be active.

EXAMPLES

The UNIX 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 shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.

  • Display the current view's config spec.

    cmd-context catcs
    element * CHECKEDOUT
    element * /main/LATEST

  • Display the config spec of the view with view tag jackson_fix.

    cmd-context catcs -tag jackson_fix 
    element * CHECKEDOUT
    element * ...\rel2_bugfix\LATEST
    element * \main\LATEST -mkbranch rel2_bugfix 

SEE ALSO

edcs, lsview, mktag, pwv, setcs, setview, config_spec



Copyright© 2003 Rational Software. All Rights Reserved.