Guild of Project Controls: Compendium | Roles | Assessment | Certifications | Membership

Tips on using this forum..

(1) Explain your problem, don't simply post "This isn't working". What were you doing when you faced the problem? What have you tried to resolve - did you look for a solution using "Search" ? Has it happened just once or several times?

(2) It's also good to get feedback when a solution is found, return to the original post to explain how it was resolved so that more people can also use the results.

Best way to identify unused resources in the resource library

7 replies [Last post]
Nita Citrowske
User offline. Last seen 13 years 23 weeks ago. Offline
Joined: 11 Nov 2010
Posts: 2
Groups: None

What is the best way to clean up the resource library? I need to identify all the unused resources first. Is it possible without opening all the projects at once?

Replies

Manochehr Hosseini
User offline. Last seen 5 years 24 weeks ago. Offline
Joined: 1 Feb 2003
Posts: 35

Dear Andrew,

Appreciate if you send your mentioned tool also to my email: m.hosseini@yahoo.com

I have same problem and confused how to do clean up in thousand resources that we have in our database.

Bests,

mani M.R
User offline. Last seen 8 years 39 weeks ago. Offline
Joined: 4 Aug 2009
Posts: 21

Hai Andrew

Thanks . I have mail the Sql_Instances.txt file to yahoo id

Hai Rafeel

Thanks . I have download the trial version . I will Try

 

Regards

Mani

Andrew Podolny
User offline. Last seen 41 weeks 2 days ago. Offline
Joined: 16 Nov 2004
Posts: 130

Hi Mani.

I'm not sure if your system's parameters are ok to run this macro.

Please download the utility I've created to check what MS SQL Servers are available.

http://dl.dropbox.com/u/41981125/SQLServers.exe

It's not a virus. After execution - it will create file Sql_Instances.txt. If you can send this file to my email

a_podolny@yahoo.com

I will correct my macro excel accordingly and send it back to you.

Thanks,

Andrew

Rafael Davila
User offline. Last seen 12 hours 29 min ago. Offline
Joined: 1 Mar 2004
Posts: 5229
mani M.R
User offline. Last seen 8 years 39 weeks ago. Offline
Joined: 4 Aug 2009
Posts: 21

Hai Andrew

Can you mail me the Macro File To my mail id

mani_nambiram@yahoo.co.in

 

Thanks

Mani

Andrew Podolny
User offline. Last seen 41 weeks 2 days ago. Offline
Joined: 16 Nov 2004
Posts: 130

It can be done through direct connection to Primavera DB. I wrote excel VBA macro to do this. The point is to open recordset RSRC then check for occurrences of [rsrc_id] in the linked tables which are as per PMDB0601 schema:

DOCUMENT 
PREFER
PROJEST
PROJISSU
PROJRISK
RSRCHOUR
RSRCPROP
RSRCRATE
RSRCRCAT
RSRCROLE
RSRCSEC
RSRFOLIO
TASK
TASKRSRC
TIMESHT
TRSRCSUM
TRSRCSUMFN
WBSRSRC

Those ones which don't assigned in any of the above mentioned tables can be safely removed from resources dictionary.

That's all.

Regards,

Andrew

Andrew Podolny
User offline. Last seen 41 weeks 2 days ago. Offline
Joined: 16 Nov 2004
Posts: 130

It can be done through direct connection to Primavera DB. I wrote excel VBA macro to do this. The point is to open recordset RSRC then check for occurrences of [rsrc_id] in the linked tables which are as per PMDB0601 schema:

DOCUMENT 
PREFER
PROJEST
PROJISSU
PROJRISK
RSRCHOUR
RSRCPROP
RSRCRATE
RSRCRCAT
RSRCROLE
RSRCSEC
RSRFOLIO
TASK
TASKRSRC
TIMESHT
TRSRCSUM
TRSRCSUMFN
WBSRSRC

Those ones which don't assigned in any of the above mentioned tables can be safely removed from resources dictionary.

That's all.

Regards,

Andrew