ClearCase Support: How to Execute a Command in a View
Here is the ClearCase command to execute another command inside of a ClearCase View that you are not currently in.
cleartool setview -exec "COMMAND" VIEW_NAME |
---|
Basically, this ClearCase command starts the designated View, then executes the given command in the View. If and when this given command finishes executing, then this given command will exit out of the designated View.
With this ClearCase command, you can be in a View, yet run a command in another View. This ClearCase command will return to the original View when it has completed executing. Or else, you do not need to be in a View at all for this command to work, and you will not be in a View afterwards either.
by Phil for Humanity
on 06/04/2009