![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Compare Users... Topic Summary: Created On: 19-Dec-2007 12:40 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
If someone can give me a hint on how to create a skip list, Welcome.
|
|
![]() |
|
![]() |
|
Use the dxl help file -- search for Skip
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
I tried this but its not working.
|
|
![]() |
|
![]() |
|
enjoy
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com Edited: 19-Dec-2007 at 17:25 by David Pechacek |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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!!! |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Compare Users...
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.