The rmdo command deletes one or more derived objects (DOs). Use rmdo to remove DOs (for example, damaged DOs or DOs that were built incorrectly) so that other users do not use them inadvertently.
The details of the removal process depend on the kind of DO (use lsdo –long to determine the kind of DO):
In each case, rmdo also deletes the associated configuration record if it is no longer needed. Both of the following conditions must be true:
rmdo does not delete DO versions. To delete a DO that has been checked in as a version of an element, use rmver.
ClearCase includes a utility, scrubber, that deletes shareable DOs. scrubber deletes the entries in the VOB database and (for shared DOs) the data containers in the VOB's storage pools. By default, the ClearCase scheduler runs scrubber periodically. See the schedule reference page for information on describing and changing scheduled jobs.
Each DO pool has scrubbing parameters, which you can modify with the mkpool –update command.
The date-time argument can have any of the following formats:
date.time | date | time |now where:
Specify time in 24-hour format, relative to the local time zone. If you omit the time, the default value is 00:00:00. If you omit date, the default is today. If you omit the century, year, or a specific date, the most recent one is used. Specify UTC if you want to resolve the time to the same moment in time regardless of time zone. Use the plus (+) or minus (-) operator to specify a positive or negative offset to the UTC time. If you specify UTC without hour or minute offsets, Greenwich Mean Time (GMT) is used. (Dates before January 1, 1970 Universal Coordinated Time (UTC) are invalid.)
The UNIX system and Linux examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.
The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the UNIX system and Linux shells or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.
cmd-context rmdo hello.obj@@2006-03-24T11:32.412
Removed derived object "hello.obj@@2006-03-24T11:32.412".
cmd-context rmdo –all hello.exe
Removed derived object "hello.exe@@2006-03-24T14:16.178".
Removed derived object "hello.exe@@2006-03-23T19:25.394".
cmd-context rmdo –zero hworld
Removed derived object "hworld/hello.o@@2006-03-23T20:42.373".
Removed derived object "hworld/hello.o@@2006-03-23T20:36.228".
Removed derived object "hworld/hello@@2006-03-23T20:42.382".
Removed derived object "hworld/hello@@2006-03-23T20:36.234".
Removed derived object "hworld/util.o@@2006-03-23T20:42.376".
Removed derived object "hworld/util.o@@2006-03-23T20:36.231".