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 Modules....
Topic Summary:
Created On: 22-May-2007 20:31
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.
Answer This question was answered by Scott Boisvert, on Thursday, May 24, 2007 2:36 PM

Answer:
Figured it out.  The script was timing out....Added pragma runLim, 0 to the scipt and voila it runs.

 22-May-2007 20:31
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

OK...Here's an interesting one...I'm running a for loop through a folder looking for items.  Sounds easy enough right?  Well for some reason when I run in batch mode, it only picks up about half of the items in the folder, yet I can run the same function through the GUI and it finds all the modules (items).  Any ideas why???

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com

Edited: 22-May-2007 at 20:32 by Scott Boisvert
Report this to a Moderator Report this to a Moderator
 23-May-2007 13:35
User is offline View Users Profile Print this message


Chris Welch

Posts: 19
Joined: 10-Jan-2006

How/where are you setting folder "f" ?

Report this to a Moderator Report this to a Moderator
 23-May-2007 20:31
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

In batch mode the folder is set in the the batch file with the -D switch....i.e.

start/wait doors -u "%Uname%" -P "%Pword%" -D "Folder f;f = folder \"/SD Cirrus TC Min/F - Software Requirements\"" -b "%DXL_PATH%"

The -D can be used to execute code (like setting variables) before the actual script is run.  These variables are then carried into the DXL script.

"%DXL_PATH%" is a variable set to the path of the DXL script that I run with the for loop in it.

The weird part is, is that it will pick up about 5 of the 12 modules in the folder, but it acts like it doesn't even see the others.  I'm running the script under my username so I know I have have access to the modules that are there....It just doesn't make much sense to me......



-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com

Edited: 23-May-2007 at 20:36 by Scott Boisvert
Report this to a Moderator Report this to a Moderator
 24-May-2007 14:34
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Answer Answer
Figured it out.  The script was timing out....Added pragma runLim, 0 to the scipt and voila it runs.



-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.