How to rmname by using cleartool?
1. Check what is the rmname command usage?
cleartool rmname
cleartool: Error: Directory pathname required.
Usage: rmname [-c comment | -cfile pname | -cq | -cqe | -nc]
[-nco] [-force] pname ...
2. Run the command, but you will find an error:
M:\your vob path name>cleartool rmname -nc -force rebecca_1229_01.txt
cleartool: Error: Can't modify directory because it is not checked out.
cleartool: Error: Unable to remove "rebecca_1229_01.txt".
3. Fix the above error by checkout the directory first: cleartool co -nc .
4. Run the command in step2 again:
M:\your vob path name>cleartool rmname -nc -force rebecca_1229_01.txt
Removed "rebecca_1229_01.txt".
-you can see now the file is removed
5. Check in the directory to finish the rmname: cleartool ci -nc .
Done