annotate
apropos
catcr
catcs
cc.icon
cc.magic
cd
chactivity
chbl
checkin
checkout
checkvob
chevent
chflevel
chfolder
chmaster
chpool
chproject
chstream
chtype
chview
clearaudit
clearbug
cleardescribe
cleardiffbl
cleardiff
clearexport_ccase
clearexport_cvs
clearexport_pvcs
clearexport_rcs
clearexport_sccs
clearexport_ssafe
clearfsimport
cleargetlog
clearhistory
clearimport
clearjoinproj
clearlicense
clearmake
clearmake.options
clearmrgman
clearprojexp
clearprompt
cleartool
clearviewupdate
clearvobadmin
comments
config_ccase
config_spec
cptype
credmap
creds
deliver
describe
diffbl
diffcr
diff
dospace
edcs
endview
env_ccase
events_ccase
export_mvfs
exports_ccase
file
find
findmerge
fmt_ccase
getcache
get
getlog
help
hostinfo
init_ccase
ln
lock
lsactivity
lsbl
lscheckout
lsclients
lscomp
lsdo
lsfolder
lshistory
ls
lslock
lsmaster
lspool
lsprivate
lsproject
lsregion
lsreplica
lssite
lsstgloc
lsstream
lstype
lsview
lsvob
lsvtree
makefile_aix
makefile_ccase
makefile_gnu
makefile_pmake
makefile_smake
makefile_sun
man
merge
mkactivity
mkattr
mkattype
mkbl
mkbranch
mkbrtype
mkcomp
mkdir
mkelem
mkeltype
mkfolder
mkhlink
mkhltype
mklabel
mklbtype
mkpool
mkproject
mkregion
mkstgloc
mkstream
mktag
mktrigger
mktrtype
mkview
mkvob
mount_ccase
mount
msdostext_mode
mvfslog
mvfsstorage
mvfstime
mvfsversion
mv
omake
pathnames_ccase
permissions
profile_ccase
promote_server
protect
protectvob
pwd
pwv
query_language
quit
rebase
recoverview
reformatview
reformatvob
register
relocate
rename
reqmaster
reserve
rgy_backup
rgy_check
rgy_passwd
rgy_switchover
rmactivity
rmattr
rmbl
rmbranch
rmcomp
rmdo
rmelem
rmfolder
rmhlink
rmlabel
rmmerge
rmname
rmpool
rmproject
rmregion
rmstgloc
rmstream
rmtag
rmtrigger
rmtype
rmver
rmview
rmvob
schedule
schemes
scrubber
setactivity
setcache
setcs
setplevel
setsite
setview
shell
snapshot.conf
softbench_ccase
space
startview
type_manager
umount
uncheckout
unlock
unregister
unreserve
update
version_selector
view_scrubber
vob_restore
vob_scrubber
vob_sidwalk
vob_snapshot
vob_snapshot_setup
wildcards_ccase
winkin
xclearcase
xcleardiff
xmldiffmrg
OPTIONS AND ARGUMENTS
Listing Format
- Default
- A type object listing looks like this:
07-Nov-1998 sakai element type "text_file"
- –l·ong
- Expands the listing to include any type-specific
parameters (for example, that a label type is one-per-element or that an element
type inherited its type manager from the text_file supertype
and so on.)
For attribute types, hyperlink types, and label types, lstype –long shows the instance mastership of the type (whether the type's mastership can be shared by multiple replicas), even if the VOB is not replicated.
- –s·hort
- Restricts the listing to type names only.
- –fmt format-string
- Lists information using the specified format
string.
Listing Obsolete Types
- Default
- If you don't specify any type-name argument,
only the nonobsolete types of the specified kind are listed.
- –obs·olete
- Includes obsolete type objects in the listing
when you don't specify any individual type objects with type-name arguments.
Has no effect if you specify one or more type-name arguments.
Specifying the VOB
- Default
- Lists type objects in the VOB that contains
the current working directory.
- –inv·ob vob-selector
- The VOB whose type objects are to be listed.
Specify vob-selector in the form [vob:] pname-in-vob.
pname-in-vob Pathname of the VOB tag (whether or not the VOB is mounted) or of any file system object within the VOB (if the VOB is mounted)
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.
Note: In the UNIX examples that follow, arguments and output that show multicomponent VOB tags are not applicable to ClearCase LT, which recognizes only single-component VOB tags. In this manual, a multicomponent VOB tag is by convention a two-component VOB tag of the form /vobs/vob-tag-leaf—for example, /vobs/src. A single-component VOB tag consists of a leaf only—for example, /src. In all other respects, the examples are valid for ClearCase LT.
- List
all branch types defined in the VOB containing the current working directory.
cmd-context lstype –kind brtype
15-Dec.09:34 jenny branch type "main"
"Predefined branch type used to represent the main branch of elements."
08-Dec.12:12 jackson branch type "test"
"test development branch"
08-Dec.12:12 jackson branch type "patch2"
08-Dec.12:12 jackson branch type "patch3"
08-Dec.12:12 jackson branch type "rel2_bugfix" - List
all label types defined in the current VOB. Use the short format, and include
obsolete label types.
cmd-context lstype –kind lbtype –obsolete –short
BACKSTOP
CHECKEDOUT
LATEST
REL1 (obsolete)
REL2
REL3
V2.7.1 (obsolete)Note that the listing includes the three predefined label types, BACKSTOP, LATEST, and CHECKEDOUT.
- List
information about a particular user-defined element type, in long format.
cmd-context lstype –long eltype:c_source
element type "c_source"
08-Dec-98.12:12:38 by Chuck Jackson (test user) (jackson.dvt@oxygen)
owner: jackson
group: dvt
scope: this VOB (ordinary type)
type manager: text_file_delta (inherited from type "text_file")
supertype: text_file
meta-type of element: file element - List information about a particular trigger type, in long format.
- List information about a particular hyperlink type.
- List
the name, lock status, master replica, and scope of all label types in the
VOB /vobs/stage. (The command line, including the quoted
format string, constitutes a single input line. The input line below is broken
to improve readability. Spaces are significant.)
cmd-context lstype –fmt "%n\n\tLock status: %[locked]p\n\tMaster replica: %[master]p\n\tScope: %[type_scope]p\n" -kind lbtype
V3.BL3
Lock status: unlocked
Master replica: lex
Scope: ordinary
V3.BL4
Lock status: locked
Master replica: lex
Scope: global
V4.0.DOC
Lock status: unlocked
Master replica: doc_clone
Scope: ordinary
V4.0.HELP
Lock status: unlocked
Master replica: doc_clone
Scope: ordinary - List the name, kind, and creation comment of a particular trigger type.