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: Cannot Run DXL in batch Mode
Topic Summary:
Created On: 30-Jan-2004 00:46
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-Jan-2004 00:46
User is offline View Users Profile Print this message


Janet Ma

Posts: 115
Joined: 12-Sep-2002

I have a DXL which works fine with the GUI application, but cannot be run in batch mode.
The DXL reads in a .CSV file and imports into a module. The module is open for edit, but not visible.

I get too many errors running the DXL in batch mode only.

If somebody can spot a glaring problem with this DXL, would appreciate the help!

I am attaching my modules, DXL and .CSV files
Report this to a Moderator Report this to a Moderator
 30-Jan-2004 14:54
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Didn't read the code.

I've not done it myself, but it appears that "show(DB)" works for dialogs created while the DOORS GUI is active, but "baseWin(DB)" works when the script is in batchmode.

Perhaps dialog code could look like this:
DB dbDialog
// define dbDialog and DBEs
if (batchMode())
baseWin(dbDialog)
else show(dbDialog)

- Louie
Report this to a Moderator Report this to a Moderator
 30-Jan-2004 18:19
User is offline View Users Profile Print this message


Janet Ma

Posts: 115
Joined: 12-Sep-2002

I found the bug: looks like I 'd used a string variable called 'line' which must be a reserved keyword and breaks the batch processing, so I have changed the variable line to strline, and it works fine.

Funny, that the DXL training manual shows an example of a file being read in, and a line in the sample code shows 'line' as a variable!

Thanks for replying

Janet
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.