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: DXL Script Errors out in batch mode but not in DOORS?
Topic Summary:
Created On: 18-Jan-2005 21:26
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 Louie Landale, on Friday, March 11, 2005 5:05 PM

Answer:
What errors are you getting?
 18-Jan-2005 21:26
User is offline View Users Profile Print this message


Carlos Ramirez

Posts: 1
Joined: 19-Aug-2003

I'm having problems running a DXL script from the command line on my UNIX DOORS server. I'm using the batch mode swtich and specifying the path to my dxl script but it keeps erroring out. I am able to run the same dxl script from the DOORS client with out error? Has anyone experienced this problem?

The command I'm runnging is:

$ doors7 -d 36681@localhost -b ./exportusers.dxl -u username -P password
Report this to a Moderator Report this to a Moderator
 20-Jan-2005 22:33
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Answer Answer
What errors are you getting?
Report this to a Moderator Report this to a Moderator
 12-Jul-2005 08:51
User is offline View Users Profile Print this message


Francois SALAZAR

Posts: 3
Joined: 10-Mar-2005

Hi got an error too in batchmode but not in GUI: -E- DXL: (FileSep_) already declared in this scope
Report this to a Moderator Report this to a Moderator
 12-Jul-2005 13:20
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

FileSep_ is declared in utils/fileops.dxl and is globally available (in the top context) by inclusion in init.dxl (GUI mode) and batchStartup.dxl (batch mode).

fileops.dxl is also #included by some of the standard export / import scripts. This is okay because these are running in their own context.

Are you #including this file in a top-context script?

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 12-Jul-2005 17:41
User is offline View Users Profile Print this message


Francois SALAZAR

Posts: 3
Joined: 10-Mar-2005

Hi, Thanks Tony, I solved this problem but immediately got a new one. I have -R-E- DXL: forward reference not resolved In fact, I reuse the import spreadsheet (ripped the GUI windows). This script is working well in DOORS mode but produces this error in batchmode. Is there a pragma or something like this to define for enabling forward reference ?




Edited: 12-Jul-2005 at 17:44 by Francois SALAZAR
Report this to a Moderator Report this to a Moderator
 13-Jul-2005 14:08
User is offline View Users Profile Print this message


Francois SALAZAR

Posts: 3
Joined: 10-Mar-2005

Finally after contacting Support:
quote:

Hi Francois, This is regarding case:UU1043310:"Forward reference error". When you run the dxl in the DXL editor, the DXL interpreter behind the scenes puts braces around it. When you run it in batch mode, this does not happen. So please try inserting the whole script within {} and check if you could overcome this error. If you still face any issues,I would recommend that you contact Professional Services through your Account manager,who would be in a better position to help you as OLE Automation cases are not supported by us. Best Regards, Ukesh.
Just tried it and it works ... Yeepiie

Edited: 13-Jul-2005 at 14:09 by Francois SALAZAR
Report this to a Moderator Report this to a Moderator
 25-Aug-2006 17:16
User is offline View Users Profile Print this message


Pranav Chandrasekhar

Posts: 101
Joined: 16-May-2006

Hi,

    I have a similar issue wherein if I try and run a script within DOORS, it works but when it run it from a .bat file it gives me "already declared in scope" errors and I do not have any "include" statements in my script. Any ideas on what could be wrong? Any responses will be helpful. Thank you.

Pranav

Report this to a Moderator Report this to a Moderator
 25-Aug-2006 18:05
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Which errors?
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.