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: Compare Users...
Topic Summary:
Created On: 19-Dec-2007 12:40
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.
 19-Dec-2007 12:40
User is offline View Users Profile Print this message


Doors Group

Posts: 61
Joined: 31-Jan-2007

I've been working with this script.

What this does is easy.

It reads from a txt file that contains hundreds of names. Some of them are DOORS Users, some not.

The script works 100% and i have no complains about it.

But I need to find out how to compare the user's list against the DOORS users. Some of the users name in DOORS are short names or nicknames like for example: Don for Donald, Alex, for Alexis and so.

If anyone knows a way to compare the names, Please let me know.

I will appreciate.

Example of output:
My list DOORS Userlist
Smith, Jonathan Smith, Jon

If my list != to DOORS Userlist then compare names by letter and print possible matching

Smith, Jonathan is similar to Smith, Jon
Report this to a Moderator Report this to a Moderator
 19-Dec-2007 13:37
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Well if the Full Name of each DOORS user is always the nickname (the shorter one), then you could do a matches.

You'd have to build a skip list of all the DOORS users with the users full name property as the key of the Skip List. I'd do a check first to make sure that no one has the same full name in their user account as another person.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 19-Dec-2007 15:14
User is offline View Users Profile Print this message


Doors Group

Posts: 61
Joined: 31-Jan-2007

If someone can give me a hint on how to create a skip list, Welcome.
Report this to a Moderator Report this to a Moderator
 19-Dec-2007 15:19
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Use the dxl help file -- search for Skip
Report this to a Moderator Report this to a Moderator
 19-Dec-2007 15:32
User is offline View Users Profile Print this message


Doors Group

Posts: 61
Joined: 31-Jan-2007

I already check the help file. The info is vague.
I just need to know how to implemented all that stuff in the Help File.


I need to create the skip list for the the Users and a skip list for my list and compare them. It's hard since i have no experience with this program at all.

But Thanks
Report this to a Moderator Report this to a Moderator
 19-Dec-2007 16:49
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

And you don't need a Skip list for the list in your file. Just get each one line by line (assuming they're each on a separate line) and compare them one at a time to the items in the usersList Skip.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com

Edited: 19-Dec-2007 at 16:51 by David Pechacek
Report this to a Moderator Report this to a Moderator
 19-Dec-2007 17:09
User is offline View Users Profile Print this message


Doors Group

Posts: 61
Joined: 31-Jan-2007

I tried this but its not working.
Report this to a Moderator Report this to a Moderator
 19-Dec-2007 17:24
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

enjoy

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com

Edited: 19-Dec-2007 at 17:25 by David Pechacek
Report this to a Moderator Report this to a Moderator
 19-Dec-2007 17:54
User is offline View Users Profile Print this message


Doors Group

Posts: 61
Joined: 31-Jan-2007

This is amazing, thanks. But my only problem is that I'm not able to match the shortnames. Smith, Jonathan against Smith Jon.

Have a nice day
Report this to a Moderator Report this to a Moderator
 20-Dec-2007 18:56
User is offline View Users Profile Print this message


Doors Group

Posts: 61
Joined: 31-Jan-2007

David,
I tried the script but the problem is that I received the names from MIS in Upper Case and when i compare they are all not DOORS Users and that's not a good thing.

Thanks!!!
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.