lstype

Lists a VOB's type objects

APPLICABILITY


Product

Command Type

ClearCase


cleartool subcommand


ClearCase LT


cleartool subcommand


Attache


command


Platform

UNIX


Windows

SYNOPSIS

lstype [ -local ] [ -l·ong | -s·hort | -fmt format-string ] [ -obs·olete ]

{ -kin·d type-kind [ -inv·ob vob-selector ]
| type-selector ...
}
lstype -g·raphical [ -kin·d type-kind ] [ -inv·ob vob-selector ]
lstype [ -local ] [ -l·ong | -s·hort | -fmt format-string ] [ -obs·olete ]

{ -kin·d type-kind [ -inv·ob vob-selector ]
| type-selector ...
}

DESCRIPTION

The lstype command lists information about one or more of a VOB's type objects.

Obsolete Type Objects

Type objects can be rendered obsolete with the lock -xxtype -obsolete command. lstype lists an obsolete type object only if you either specify its name with a type-name argument or use the -obsolete option.

RESTRICTIONS

None.

OPTIONS AND ARGUMENTS

LISTING TYPE OBJECTS GRAPHICALLY. Default: Lists type objects in the command window.

-g·raphical

Starts a type object browser to display type objects.

LISTING LOCAL COPIES OF GLOBAL TYPES. Default: In addition to types in the specified VOB, lstype lists all global types in associated administrative VOBs.

-local

Lists ordinary types and local copies of global types. For more information about global types, see Administrator's Guide.

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.)
-s·hort

Restricts the listing to type names only.
-fmt format-string

Lists information using the specified format string. See the fmt_ccase reference page for details on using this report-writing facility.

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 KIND OF TYPE OBJECT.  Default: None.

-kin·d type-kind

A kind of type object. All objects of this kind are listed. type-kind can be one of:
attype, brtype, eltype, hltype, lbtype, trtype

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)

SPECIFYING INDIVIDUAL TYPE OBJECTS.  Default: None.

type-selector ...

One or more names of type objects. The listing includes only the named objects. Specify type-selector in the form [type-kind:]type-name[@vob-selector]

type-kind

One of
attype Attribute type
brtype Branch type
eltype Element type
hltype Hyperlink type
lbtype Label type
trtype Trigger type

type-name

Name of the type object.

vob-selector

Object-selector for a VOB, in the same format as with -invob, above.

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. In Attache, cmd-context represents the workspace 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.

SEE ALSO

describe, rmtype, rename, Administrator's Guide