H2O
H2O

Reputation: 173

How to apply a private label with mklabel celearcase command?

I'm tring to apply a personal label on a file in clearcase vob. I've used the command:

cleartool mklabel MY_LABEL TestFile.txt@@\main\1

End the result is:

cleartool: Error: label type "MY_LABEL" not found in VOB "\TEST_vob" and no global type defin cleartool: Error: Unable to create label "MY_LABEL" on "TestFile.txt" version "\main\1".

I execute the command from command line in the same level of the file. Am I using the command incorrectly, or is the command locked by a CC admin?

Upvotes: 1

Views: 320

Answers (1)

VonC
VonC

Reputation: 1330082

You should create the label type first using the cleartool mklbtype command

M:\myView\TEST_vob\aFolder> cleartool mklbtype -nc MY_LABEL
Created label type 'MY_LABEL'.

Then try your mklabel command again.

Upvotes: 1

Related Questions