configuration management Questions

I need help for a perl script I'm writing....

We used perl script for dcm deliveries with success.

This is my issue : I need to deliver a released project (library to be used by development teams). But, within this project not all objects are to be delivered : so I'v already suggest that they be with a version matching 'proto*'.

This what I tried :
1- Deliver the project via DCM : but I can't unuse/delete those objects and command dcm -remove -ts didn't work :angry:

2- Find the objects of the project with a query excluding those with version matching 'proto*', deliver them with DCM... and then I should have to create a project but I didn't find an easy way to add all directories and files with the same hierarchy :blink:

I would rather use solution 1, if there is a way to exclude indirect members...

After that I have to find how to update the delivered project : for exemple my database has received library-1.0. Then library-1.1 is released and the development received it...

Is there a dcm commands to do that ? (It must not be automatic !!)

By Marc Girod - May 7, 20114 Answers


I am proud to announce the publication of a book which I coauthored together with Tatiana Shpichko:

IBM Rational ClearCase 7.0: Master the Tools That Monitor, Analyze, and Manage Software Configurations

It is available among other from the

This book is a praise for base ClearCase, explaining how to use it in an efficient and sophisticated way.

We show that the concept and optimal use of branches has been misunderstood across all SCM tools (with the possible exception of Mercurial, but including UCM), leading in ClearCase to:

artificial mastership issues jeopardizing derived objects, which are the single justification for using ClearCase[/li]

We explain how to fix this in ClearCase with the use of the CPAN module, as well as how to carefully craft makefiles specifically to optimize winkin under clearmake (including for Java with the .JAVAC support).

We also argument why to avoid triggers and UCM.


It has been my experience to locate snapshot view storage locations on the client in favor of performance over backup. IBM does not recommend this.

I have done this in the past because if the remote location is lost, the real value of view is lost (e.g., checked out elements that have been modified, etc.), regardless of whether the view storage location was also lost, or was located on a server.

The only reason I can see to keep the storage location on the server is that it makes it easier to remove the view if the view contents are lost (e.g., using rmview). However, if the view storage location is lost, it is still possible to remove the view from the registry with a few extra steps (unregister and rmtag).

Are there other reasons it is recommended to keep the view storage location on a server besides this one?

I can understand why you would want dynamic view storage located on the server, but question the tradeoff of performance if you have an excessive number of snapshot view locations on a server.


I am developing an Enterprise CM Implementation (or Project) Plan in MS Project. I see lots of CM templates and a few CM project templates in MS Word, but nothing as far as a full fledged Enterprise Plan.

This plan is going to ber VERY comprehensive: in essence "Start Enterprise CM" and ending with "End Enterprise CM" (well, at lest its implementation).

If anyone can provide a MS project template of such a CM Implementaion Project Plan, it would be greatly appreciated.

I would like to find all recent baseline created since 1 hour (1 minute or 1 day). We have are working on a project which contains more than 50 project vobs with so many baseline that it is impossible to draw the global list of baseline.

I found the command 'cleartool find -avobs -kind baseline' for the complete list but it is too long to run.
I added the parameter '-version "created_since(20-Apr-11)"' to the cleartool find command, but it doesn't do what I expected it would.

Do you have any idea on how I could quickly find the recent baseline?


Among these:


Or others?


I need to know if there is a way to log all the client requests to the CM Synergy server on the Server. I know that the Client maintains a log, but is there a way to log them on the server as well.

I need to specifically know when each user last updated the source code.


I am working at a 500 SW developer shop as a SCM Tool specialist. Our products are under supervision from legal standards and authorities (very much like the medical industry with FDA). Within the SCM tool we store source code, built items and product documentation.

The problem at hand is that we are coming up against a limit to how much data we can host, as we currently do not have an active retention policy, and I am asked to come up with one.

It would be interesting to learn of how other businesses are dealing with the deletion of CI's (that are between baselines). Best practices?

Stories from our kind of business is a bonus, but any feedback is most welcome too.

The problem might only exist for certain SCM tools, all depending on how CI's are stored, but it is certainly a problem for us.

We are an interop shop currently upgraded to CC/CQ Our vob/view server is unix (SOL). End users are all Windows XP Prof OS (some Linux later)

One of the uses for Rational is a 4 year old home grown DocMgmt app which uses CQ as the document request meta data piece and CC as the document repository for the documents.

One of our user groups (call them TEO for 'Their Eyes Only') wishes to use the system, but needs more security than what is provided currently. Clearcase is set up with only one Clearcase group which has access to all VOBS in an effort to reduce operational maintenance costs (I'm told). However, this means anyone who can create a view, in any region, on any stream on any VOB.

I would like to create a special TEO DEV stream off of the DocMgmt INT stream we now have with 10,000 tech docs in it and create a trigger to validate who is creating a view on the stream and prevent them from doing so if they are not one of a list of ten network IDs. If necessary, we could create a network group and place TEO users in it or just maintain the list with the trigger.

Can this be done and any special considerations?


Do you have problems merging activities between projects and streams ?

Use Merge Activity - Context menu tool (right click on ClearCase Explorer) You can download the tool from:

You will need to configure the tool as context menu in ClearCase explorer with filelist argument.

If you have any questions feel free to contact me.

Demi Goldberg


CMCrossroads is a TechWell community.

Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.