Is there any way that I can list all baselines' name and stream name for those baselines from a particular component?
The basic command would be cleartool lsbl
:
cleartool lsbl -comp aComponent@\aPVob
You can then use fmt_ccase
to display the stream as well as the baseline.
cleartool lsbl -fmt "%n %[bl_stream]Xp\n" -comp aComponent@\aPVob
A similar command would be:
cleartool lsbl -tree -comp aComponent@\aPVob
(to see the stream, and its location within the UCM project).
If that doesn't work, you can, for each baseline returned by the first command, do a:
cleartool descr -fmt "%n %[bl_stream]Xp\n" aBaseline@\aPVob