ClearCase Integration

ClearCase Operations and Commands

Views

View Creation

View Deletion

Set Config Spec (includes view update):

setcs –tag <view tag> <config spec path>

Explicit View Update in CMS Profile:

update <view directory>

Check if View is Registered:

lsview

Mount VOB for Dynamic View:

lmount <vob tag>

Files

Initial Creation:

Checkout:

checkout –nc <path>

Undo Checkout:

uncheckout –rm <path>

Checkin:

checkin –comment <comment> -identical <path>

Change State:

[mkattype –ordinary –comment “Stages document state” <attribute
type specification>]
mkattr –replace <attribute type> ‘“<attribute value>”’

Update File in Snapshot View:

update –force –overwrite –log “NUL”<parent directory>
or:
update –force –overwrite –log “NUL”

Check if File is View-Private:

describe –fmt “%Vn”

Determine Information about Current Version:

describe –fmt “%Vn\n%PVn\n%Nd\n%u\n%[pkitStatus] ]a\n%l\n%c
=*&*=*&*HISTORY_ENTRY_DELIMITER*&*=*&*=\n”

Determine Version History Information:

lshistory –fmt “%Vn\n%PVn\n%Nd\n%u\n%[pkitStatus] ]a\n%l\n%c
=*&*=*&*HISTORY_ENTRY_DELIMITER*&*=*&*=\n”

Download Old Version:

get –to <temporary path> <element path>@@<version selector>

Add Label:

–ordinary –comment “created by Stages” <label type>]mklbtype[

mklabel –replace <label type>