I was able to create and remove a view with binary data in the tag using Perl. You have to use the OCTAL value of 177 in the strings.
I created my view using this command line:
perl -e '`cleartool mkview -tag myview\177tag /net/bullwinkle/export/vobstg/binarytag.vws`'
And I successfully removed that view tag using this command line:
perl -e '`cleartool rmview -tag myview\177tag`'
If the view was unique enough, you could also use (on Unix) or at least try:
cleartool rmview -tag `cleartool lsview 'myview*123456'`
There is another mechanism, if all else fails: you can edit the vob_tag registry file. This would require an outage as the registry file is loaded into the registry server's memory on clearcase startup and only re/written after that point.
The process is:
- Stop ClearCase on the registry server
- CD to /var/adm/rational/clearcase/rgy (Unix) or {CC Install dir}\var\rgy (Windows)
- Back up the vob_tag file.
- load the vob_tag file in an editor. (vi/gedit on unix, but I'd use notepad++ on windows)
- locate the problem view tag (you may need to search on the global path or some other component of the name).
- Make note of the path to the view.
- Delete the line.
- Start ClearCase on the registry server
- unregister the view or retag it with an easier-to-access tag.