Search code examples
clearcase

References of derived objects are invalid


there are some derived objects with references to a view. However, referenced view does not have that derived object.

Is there a way to delete those derived objects (DO) with invalid/unused references?

(I believe that the cause of the problem is deleted views. We had views that had problems, and had to force remove them (using uuid). Then we created new views with the same name. Now, a DO has a reference to a view (I cant see the uuid) but DO is not used in that view. I suspect that the referenced view is the old one)


Solution

  • Here is the slow solution I found: I listed all DOs in each vob (cleartool lsdo -recurse), then listed all used DOs in views (cleartool lsprivate -do). Then I listed the ones that are not in the second list. I wrote an rmdo script for those items.