Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: DBtype and WebType attributes not in ccm query
Topic Summary:
Created On: 13-Sep-2003 00:03
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Pierre Guillet, on Monday, September 15, 2003 4:18 PM

Answer:
Some information in Change Request seems to be attributes but are not. All CCM_RELATION Webtype information are really relation in CM Synergy. You can access to the relations and also to the pointed objects through "ccm relate" (the command result is from_object<space>relation_name<space> to_object) or "ccm query" (you can get the attribute values of the linked CR quickly) commands:
    ccm relate -n relation_name -f problemXXX~1:problem:instance .

    ccm relate -n relation_name -t problemXXX~1:problem:instance .

    ccm query -t problem "is_relation_name_of('problemXXX~1:problem:instance')" -f "problem_number..."
    Equivalent of ccm relate -f, but with attributes values

    ccm query -t problem "has_relation_name('problemXXX~1:problem:instance')" -f "problem_number..."
    Equivalent of ccm relate -t, but with attributes values

where:
    XXX is CR number

    instance is 1 or dcm identifier for dcm database.


Regards,
 13-Sep-2003 00:03
User is offline View Users Profile Print this message


Terrence Carpenter

Posts: 25
Joined: 10-Jul-2003

Hello!

With help I got from this forum, I can now generate a delimited file that excel can read. A problem I'm having is that some attributes (e.g. has_duplicate) don't seem to be in the attributes for type 'problem' in cm synergy, i.e. they don't show up in 'ccm attr -la' or in a 'ccm query' they come out void. It seems to be because they have DBtype 'child' and WebType 'CCM_RELATION'. I tried adding has_duplicate attribute with 'ccm attr -c' but it doesn't show the info from CS. Is there a way to do a ccm query and get these types information?

Thanks for all the help so far!
Terry

-------------------------
Terry Carpenter
Report this to a Moderator Report this to a Moderator
 15-Sep-2003 09:01
User is offline View Users Profile Print this message


Pierre Guillet

Posts: 21
Joined: 4-Jul-2003

Answer Answer
Some information in Change Request seems to be attributes but are not. All CCM_RELATION Webtype information are really relation in CM Synergy. You can access to the relations and also to the pointed objects through "ccm relate" (the command result is from_object<space>relation_name<space> to_object) or "ccm query" (you can get the attribute values of the linked CR quickly) commands:
    ccm relate -n relation_name -f problemXXX~1:problem:instance .

    ccm relate -n relation_name -t problemXXX~1:problem:instance .

    ccm query -t problem "is_relation_name_of('problemXXX~1:problem:instance')" -f "problem_number..."
    Equivalent of ccm relate -f, but with attributes values

    ccm query -t problem "has_relation_name('problemXXX~1:problem:instance')" -f "problem_number..."
    Equivalent of ccm relate -t, but with attributes values

where:
    XXX is CR number

    instance is 1 or dcm identifier for dcm database.


Regards,

-------------------------
Pierre Guillet
Report this to a Moderator Report this to a Moderator
 15-Sep-2003 16:19
User is offline View Users Profile Print this message


Terrence Carpenter

Posts: 25
Joined: 10-Jul-2003

Pierre,
Thanks alot! Your explanation is wonderful!

Terry

-------------------------
Terry Carpenter
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.