Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: finding objects in the whole database
Topic Summary:
Created On: 30-Aug-2007 10:27
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
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.
 30-Aug-2007 10:27
User is offline View Users Profile Print this message


Mussie Woldemicael

Posts: 95
Joined: 12-Sep-2006

In case one doesn't know in which module to find a certain object, is it possible to search for that object in the DOORS Database window by passing an object identifier?

best regards,
Mussie

Report this to a Moderator Report this to a Moderator
 30-Aug-2007 12:43
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

The attached script will loop through the complete database and through all formal modules and will report all modules and object numbers where the object identifier equals the string variable "searchObjIdent". This can take quite a while! And of course there may be more than one object matching the criterion, as the identifer is the combination of module prefix and object Absolute Number. Both can be identical for different modules and objects.

Regards,

Peter
Report this to a Moderator Report this to a Moderator
 30-Aug-2007 13:23
User is offline View Users Profile Print this message


Mussie Woldemicael

Posts: 95
Joined: 12-Sep-2006

Where do I get these include files from?

-E- DXL: <Line:1> could not open include file (Include/dxlcolshowsuppl_ATT.inc)
-E- DXL: <Line:34> could not open include file (Include/dxlColImportStatus.inc)
-E- DXL: <Line:34> could not open include file (Include/dxlColDCReason.inc)
-E- DXL: <Line:34> could not open include file (Include/dxlColDCStatus.inc)
-E- DXL: <Line:34> could not open include file (Include/dxlColoType.inc)
-E- DXL: <Line:1> could not open include file (Include/dxlColShowSuppl.inc) (No such file or directory)

best regards,
Mussie
Report this to a Moderator Report this to a Moderator
 30-Aug-2007 15:32
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 206
Joined: 15-Jul-2005

You get those files from someone in your company.

I'm assuming you are more of an admin type which is why you are posting here.

If you look through the code that was posted by Peter, you'll see that there are no #include statements.

What is happening is that you are opening every module in the database. One of the modules you're getting to has either:

1. A trigger pointing to an include file
2. Attribute DXL that points to an include file
3. Layout DXL on the default view that points to an include file

My guess is that it's not 3.

Good luck. And you may want to ensure that all users follow configuration procedures for when they develop DXL with include files. Do you not have standard procedures, or an include directory that everyone can access?

-------------------------
Kevin Murphy
http://www.baselinesinc.com
The Requirements Management Experts
Report this to a Moderator Report this to a Moderator
 30-Aug-2007 15:47
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

I think Kevin is right. I modified the code in order to catch the errors when opening the module and to report which module created the problem.

Peter
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
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.