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: Suppress dialogue in DXL?
Topic Summary:
Created On: 14-Jun-2004 16:24
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.
 14-Jun-2004 16:24
User is offline View Users Profile Print this message


Pieter DE WAARD

Posts: 73
Joined: 11-Jul-2003

Does anybody know how to suppress dialogue generated by DOORS when this dialogue occurs when script is running? We want to run DOORS in batch mode, and want to handle the dialogue stating that "... the module is locked by another user, open Read-Only?"

This because the script is waiting for a response ...

Or should I approach it differently?

-------------------------
Pieter de Waard
www.nhindustries.com

Edited: 15-Jun-2004 at 11:21 by Pieter DE WAARD
Report this to a Moderator Report this to a Moderator
 15-Jun-2004 17:03
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Try:
noError()
mod = edit(Name, false)
string ErrMess = lastError()

- Louie
Report this to a Moderator Report this to a Moderator
 15-Jun-2004 17:31
User is offline View Users Profile Print this message


Pieter DE WAARD

Posts: 73
Joined: 11-Jul-2003

Tried that. noError suppresses the error messages generated by DXL in the lower DXL window. The DB I mentioned is not considered as an error.

In the mean time I discovered in another thread that getLocksInDatabase can be used to find modules that are locked for editing. Calling this function will then serve to find if the module we want to open is locked, in this way avoiding the message. Still have to test it though. Thanks.

-------------------------
Pieter de Waard
www.nhindustries.com
Report this to a Moderator Report this to a Moderator
 15-Jun-2004 17:45
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

Pieter,

Are you using the -batch command line parameter when you run DOORS in batch mode?

I originally suggested isEdit(), but that only works for the current user. Try isLocked() instead.

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com

Edited: 15-Jun-2004 at 17:53 by Michael Sutherland
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.