Attaching labels or attributes to versions in a CR

You can attach a label or an attribute to the versions in the CR hierarchy of a derived object.

For example, to attach the SMG_BUILD_5_06 label to the versions in the CR hierarchy of file.o:

cleartool mklabel -c "may 06 build" -config file.o SMG_BUILD_5_06 
Created label "SMG_BUILD_5_06" on "/vobs/smg_test/" version "/main/CHECKEDOUT".
Created label "SMG_BUILD_5_06" on "/vobs/smg_test/acc.c" version "/main/2".
Created label "SMG_BUILD_5_06" on "/vobs/smg_test/file.c" version "/main/1".

For more information, see the description of the -config option in the mkattr and mklabel reference pages.