It's all about the answers!

Ask a question

Fetching component details from stream in RTC


KT PD (59210) | asked Apr 11 '22, 9:15 a.m.

 Hi Team,


I am using RTC 6.0.6.1. I have project area and streams created inside the same.
I have components created on streams. There are some access groups are created.
I want to fetch the component's data (including UUID), reside inside particular project area. It should be independent on whether access group is allocated or not.
I have tried below 
lscm ls comp -r "$REPO" -u "$USER" -P "$PASS" $STREAM

It is giving correct result but we need to pass stream name everytime.

Can you please suggest me on the same.


Thanks

Accepted answer


permanent link
Ralph Schoon (63.4k33646) | answered Apr 11 '22, 10:42 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Hi,


you can find the documentation here: https://www.ibm.com/docs/en/elm/6.0.6.1 . You can get there from the library menu in Jazz.net.

You can search easily (I usually type in LSCM) and find the documentation for the SCM command line here: https://www.ibm.com/docs/en/elm/6.0.6.1?topic=reference-source-control-command-line

Under https://www.ibm.com/docs/en/elm/6.0.6.1?topic=reference-scm you can find the available commands.

You could try -list components 

KT PD selected this answer as the correct answer

Comments
Ralph Schoon commented Apr 11 '22, 10:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

PS: I did not find  special call to only get data for one component. Apparently components are usually only interesting in the context of streams, baselines etc. in SCM/LSCM command line.   

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.