Listing global types

By default, the lstype command lists global types associated with local copies.

About this task

The output of lstype usually includes global types from all administrative VOBs in the hierarchy above the specified VOB. This is true even if the specified VOB (the VOB that contains the current working directory or the VOB specified with the –invob option) does not currently contain local copies of the type. To show only those types that are defined (or exist as copies) in a specific VOB, use the –local option.

Example

The following command lists all label types in the VOB \dev, including all global types from administrative VOBs in the hierarchy:

cleartool lstype –fmt "%n\t%[type_scope]p\n" –kind lbtype –invob \dev
BACKSTOP        ordinary
CHECKEDOUT      ordinary
LABEL1  global
LATEST  ordinary
REL6    global

The following command lists ordinary types and local copies of global types (if the specified VOB is an administrative VOB, global types are also listed):

cleartool lstype –local –fmt "%n\t%[type_scope]p\n" –kind lbtype –invob \dev
BACKSTOP        ordinary
CHECKEDOUT      ordinary
LATEST  ordinary
REL6    local copy