—09-01T08:42 drp lock attribute type "AT2" (locked)
"Locked for all users."
(Versions cannot be locked; a path name to a version references the element object.) Using pname arguments restricts the listing to locks on those particular objects (but see the –all description below).
If pname has the form of an object selector, you must include the –pname option to indicate that pname is a path name.
The UNIX system and Linux 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 system and Linux shells or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.
cmd-context lslock lbtype:REL1 lbtype:REL1.1 lbtype:REL2
—12-08T12:19 jackson lock label type "REL1" (locked)
"Locked for all users."
—12-08T12:19 jackson lock label type "REL1.1" (locked)
"Locked for all users."
—12-08T12:19 jackson lock label type "REL2" (locked)
"Locked for all users."
cmd-context lslock util.c@@/main/rel2_bugfix
—12-08T12:19 jackson lock branch "util.c" (locked)
"Locked for all users."
cmd-context lslock –long vob:.
2007-12-08T14:57:58 Chuck Jackson (test user) (jackson.dvt@oxygen)
lock versioned object base "s:\people\chuck\hw.vbs" (locked)
"Locked for all users."
cmd-context lslock –obsolete
—12-08T12:18 jackson lock file element
"/usr/hw/src/hello.c@@" (locked)
"Locked for all users."
—12-08T12:19 jackson lock label type "REL1" (locked)
"Locked for all users."
—12-08T12:19 jackson lock label type "REL2" (locked)
"Locked for all users."
—12-08T12:18 jackson lock branch type "test" (locked)
"Locked except for users: gomez jackson"
—12-08T12:18 jackson lock branch type "patch3" (obsolete)
"Locked for all users (obsolete)."
—12-08T12:18 jackson lock file element
"/usr/hw/src/convolution.c@@" (locked)
"Locked for all users."
—12-08T12:19 jackson lock branch
"/usr/hw/src/util.c@@/main/rel2_bugfix@@" (locked)
"Locked for all users."
cmd-context lslock pool:staged pool:cdft
—12-08T12:19 jackson lock pool "staged" (locked)
"Locked for all users."
—12-08T12:19 jackson lock pool "cdft" (locked)
"Locked for all users."