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: opening modules thru a script
Topic Summary:
Created On: 8-Dec-2004 22:19
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.
 8-Dec-2004 22:19
User is offline View Users Profile Print this message


Srinivas Dasari

Posts: 24
Joined: 13-Dec-2003

I have a peculiar problem opening modules thru dxl.

I wrote a script (A) that runs on a module that has links to other modules. It should gather some information from linked modules and accordingly produce the report. The loop in the script opens each linked module via read statement. For some reason it does not work first time. But when I run a different script (B) that also deals with opening linked modules, and then run script A, it works. What I am trying to say is that script B is keeping the linked modules open in background and hence script A has no problem. If I log out of doors session and try, I face the same problem.

I am using the same statement in both the scripts to open linked modules:

if (!open module t) then read (t, false)
where string t = <path of the module>

Any help is appreciated!

Srinivas
Report this to a Moderator Report this to a Moderator
 9-Dec-2004 13:31
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

The problem is not with the statement used to open the modules.

I suspect that the problem lies in the code that is looping through the links.

If you are finding modules by following incoming links then you need to use LinkRef rather than Link.

Also, check that you are getting the fullName of the module that you want to open, or use ModName_.

Try these. If this is not the problem then you will have to post the DXL.


-------------------------
Tony Goodman
http://www.smartdxl.com
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.