After executing PRMORPH 'orphan cleanup utility' in commit mode with option #0 'Process all the above', a subsequent run in report mode may show many more objects which are orphans in the Repository.
This occurs because as orphans are deleted from the Repository, additional ones may surface that were related in some way to the original objects. For this reason, it is recommended to invoke the PRMORPH utility four times specifying a different option for each pass to ensure that all orphans in the Repository are removed.
- On the first pass specify option #2 'Process Orphaned ENTITIES'.
- On the 2nd pass specify option #1 'Process Orphaned XREFs'.
- On the 3rd pass specify option #3 'Process Orphaned Relationships'.
- On the 4th pass specify option #0 '(DEFAULT) Process all of the above;