![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Cannot Run DXL in batch Mode
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.