The lscheckout command lists the checkout records (the checkouts) for one or more elements. There are many controls for specifying the scope: which elements, directories, or VOBs; which user; which view; and so on.
The following options modify the processing of the pname arguments.
Note: A file element can have several names, by virtue of one or more VOB hard links. Checking out such an element under one name causes all the names to be listed as checked out. However, the –all option lists the checked-out element only once.
The following option is mutually exclusive with pname arguments:
Note: A view context is required when using this option.
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.
cmd-context lscheckout –recurse
08-Dec.12:17 jackson checkout version "hello.c" from \main\4 (reserved)
08-Dec.12:17 jackson checkout version "hello.h" from \main\1 (unreserved)
"modify local defines"
08-Dec.12:17 jackson checkout version "msg.c" from \main\rel2_bugfix\0
(reserved)
08-Dec.12:17 jackson checkout directory version "subd" from \main\1
(reserved)
08-Dec.12:17 jackson checkout version ".\subd\util.h" from \main\0
(reserved)
cmd-context lscheckout –avobs –me
08-Dec.12:17 jackson checkout version "/usr/hw/src/hello.c" from /main/4
(reserved)
08-Dec.12:17 jackson checkout version "/usr/hw/src/hello.h"from /main/1
(unreserved)
"modify local defines"
08-Dec.12:17 jackson checkout directory version "/usr/hw/release" from
/main/0 (reserved)
08-Dec.12:17 jackson checkout version "/usr/hw/src/msg.c" from
/main/rel2_bugfix/0 (reserved)
08-Dec.12:17 jackson checkout version "/usr/hw/src/util.h" from
/main/0 (reserved)
cmd-context lsco –fmt "%d\t%Lu\t%En\n\tPredecessor: %[version_predecessor]p\n\tHost: %h\n\tStatus: %Rf\n\tElement type: %[type]p\n"
16-Jun-99.15:23:15 lee.user files.txt
Predecessor: \main\96
Host: neon
Status: unreserved
Element type: text_file
09-Jun-99.15:39:09 susan.user mkfile.fm
Predecessor: \main\27
Host: pluto
Status: reserved
Element type: frame_document
16-Jun-99.12:23:11 cheryl.user mktype.fm
Predecessor: \main\115
Host: troy
Status: reserved
Element type: frame_document
10-Jun-99.12:29:30 john.user files.txt
Predecessor: \main\26
Host: marcellus
Status: reserved
Element type: text_file
Copyright© 2003 Rational Software. All Rights Reserved.