It's all about the answers!

Ask a question

RTC scope components for the flow target with scm command line tool


Jörg Werner (3032558) | asked Jan 09, 8:41 a.m.
edited Jan 09, 8:55 a.m. by Ralph Schoon (54.7k23641)
Hello,

I would like to scope components for the flow target with scm.
With GUI it works fine:


But with command line tool scm I run into an error:

I can create components but how to use "scm set flowtarget" ?

I use different  commands.
But either I get an error message
"Problem running 'set flowtarget':
Unable to set collaboration."
or I get
The flow target was updated.
but the action is not performed. i.e. if I open the GUI I do not see any change.


   Thnaks fpr any hint, Jötg

3 answers



permanent link
Ulf Arne Bister (1.2k6) | answered Jan 10, 4:53 a.m.
Jörg,

please find more about this defect and workarounds in this technote: http://www-01.ibm.com/support/docview.wss?crawler=1&uid=swg1PI87234

It should be fixed in CLM 6.0.5. What version scm Client are you running? If 6.0.5 or newer I would file a defect with suspected regression with IBM support.

If this is helpful please mark the answer as accepted.

- Arne

permanent link
Jörg Werner (3032558) | answered Jan 10, 10:02 a.m.
Thanks Arne!

We have already 6.0.6 iFix003 + TFR 85265
The command line tool had version 6.0.4.
I've now switched to the 6.0.6 command line version, but no change:

lscm> scm -v
Build-ID: RTC-CLIENT-I20180527-0114
Version: 6.0.6

lscm> scm  login -r https://myserver.com/ccm/ -u myuser -P mypassword --nickname rep
Angemeldet bei https://myserver.com/ccm/

lscm> scm add component -r rep  7313 7090
Folgende Komponenten werden ⁿbersprungen, weil sie bereits im Arbeitsbereich enthalten sind:
  (7090) "vv.ECU-TEST.ecu-test_ws.Templates.dbc"

lscm> scm set flowtarget -r rep --component 7090 --same-as-workspace 7313
Fehler bei Ausfⁿhrung von 'set flowtarget':
Die Zusammenarbeit kann nicht festgelegt werden.


lscm>

Is there any one who can explain what the error message "Unable to set collaboration" means or where I can get more details about this error message?

   thanks, jörg

PS: Couldn't reply directly to the answer, because message text is too long :-(

Comments
Ralph Schoon commented Jan 10, 11:18 a.m. | edited Jan 10, 11:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Jörg,


You should consider to create a defect.  
As a sidenote, there is a scm.ini file in the folders where the SCM commandline is defined. Adding the line
-Duser.language=en 

should switch the output to English. The German output always confuses me, despite being German.


Jörg Werner commented Jan 11, 4:52 p.m.
Thanks Ralph!
I was also surprised by the German text and switched now to English :-)


permanent link
Jörg Werner (3032558) | answered Jan 11, 4:57 p.m.
I'll open an defect.

One lesson learned is, that
scm set flowtarget -r <rep> --flow-components <comp1> <comp2> ...
deletes(!) the flows of components not listed after --flow-components

Your answer


Register or to post your answer.