I could not find the proper command to apply a label to files which are in my current view. I have tried the following command:
cleartool mklabel -r TEST_LAB
cleartool mklabel -r(ecurse) LABEL_NAME
This command will apply LABEL_NAME to all files in folder and below of your view, you can just go to that directory,then type following command to create and apply label
> cd /vob/test/a > cleartool mklbtype –nc TEST_LABEL > cleartool mklabel -r TEST_LABEL .