Proper ‘cleartool mkview’ for ClearCase Snapshot view creation

This is usually due to the albd not running. Actually, it is running, but ClearCase tries to contact the wrong host. Here: Host-local path: Eh40yd4c:D:\Views\battjo6r_view2.vws is highly suspicious. Try: mkview -snapshot -tag battjo6r_view2 -vws \\Eh40yd4c\Views\battjo6r_view2.vws -host Eh40yd4c -hpath \\Eh40yd4c\Views\battjo6r_view2.vws -gpath \\Eh40yd4c\Views\battjo6r_view2.vws battjo6r_view2 That is: hpath = gpath. or, if the first command fails, also (it … Read more

List the latest baseline of a component in a UCM stream one by one

If you consider the fmt_ccase options, %[latest_bls]CXp will always list the latest baseline for all components of a given Stream. So it is best to parse the result, and for each baseline name, to display its component name: cleartool describe -fmt “%[component]Xp” aBaselineName@/aPVob Also: %[latest_bls]CXp seems to be the only way to get directly the … Read more

How to obtain UCM stream and baseline with cleartool?

If you are in a view, you can: get the current stream cleartool lsstream -cview get all baselines for a component in that stream cleartool lsbl -comp myComp@\myPVob -stream myStream@\myPVob get all foundation baselines for that stream cleartool descr -fmt “%[found_bls]CXp” stream:myStream@\myPVob Don’t forget that in a view on a stream with a modifiable component, … Read more