Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Problems with scm commands in RTC 4.0.5

 We used to be at RTC 3.0.1.3 before we recently migrated our server to RTC 4.0.5. We use the scm command line to write scripts to query locks and lock files across our streams. Since migrating to 4.0.5, I am having a lot of trouble with the scm commands and getting them to work. I can't even query a list of locks in a given stream.

For example, I use the scm login command to login and store credentials then I run this command:
scm list locks -r <repos_alias_used_in_scm_login_cmd> -s <stream_name>
And then I get the following error message even though I've specified the stream name:
Problem running 'list locks':
Specify a target stream or run from a sandbox. Try 'scm help list locks' for more information.
I am not sure what the problem is and I've had other users try with the same results. Has something changed with the scm command or is it just broken? I couldn't find any defects for this on the RTC project dashboard.

0 votes



One answer

Permanent link
Looks like it is broken although running from within a sandbox location works fine. I have raised a defect: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=309082

1 vote

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,020

Question asked: Mar 25 '14, 1:12 a.m.

Question was seen: 4,781 times

Last updated: Mar 25 '14, 3:17 a.m.

Confirmation Cancel Confirm