1
votes

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?

1
Did the answer below work? - VonC
@VonC, It works. Thanks ! - H2O
Well done. Don't forget to read stackoverflow.com/help/someone-answers: none of your questions have accepted answer. - VonC

1 Answers

1
votes

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.