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: Listing files in a database
Topic Summary: Database Listing
Created On: 31-Mar-2006 00:23
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.
 31-Mar-2006 00:23
User is offline View Users Profile Print this message


Dan Schulz

Posts: 9
Joined: 23-Jan-2006

Is there a way to run a command line to report a listing of all files in a project database?

I only need a listing.

Thank-you,

Dan Schulz
Computer Systems Analyst - EKM
Communications Security Establishment
Ottawa, Ontario
K1G 3Z4

Dan.Schulz@cse-cst.gc.ca

Report this to a Moderator Report this to a Moderator
 9-Jan-2007 10:04
User is offline View Users Profile Print this message


Terence Tan

Posts: 1
Joined: 29-Dec-2004

Hi Dan,

Not sure if this would suit you, but you can try this.

Start a CM session, then run the attached.


Cheers,
Terence

Report this to a Moderator Report this to a Moderator
 16-Jan-2007 03:24
User is offline View Users Profile Print this message


chester lai

Posts: 11
Joined: 25-May-2004

HI Dan

Not sure if this is what you need?

Start a session

ccm query "recursive_is_member_of('project_name',order_spec)"

This queries the database for all members of all projects of the project hierarchy specified by project_name.

The query returns a list of object version names, with all non-projects occurring first in the list followed by the projects that are members of the hierarchy. Only the projects' positions within the results are significant to the search order. Use of other queries in conjunction with this query may change the result's order.

order_spec

Specifies the search order. If the value depth is used for the order_spec, the value indicates that a depth-first search is done. breadth is used to specify a breadth-first search. If the value "none" is used for the order_spec, it indicates that the order is not significant and the search can be done in any order (the fastest method is used).

none | depth | breadth



Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 0 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 0 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.