Question & Answer
Question
How do I unlock an Oracle based Rational® Portfolio Manager (RPM) project?
Answer
Running the following SQL script against the Oracle RPM database will unlock the database:
- First you need to find the Project ID of the locked project. The name for the Project ID in the database is ELEMENT_ID.
This query returns the Project ID.
For example:
ELEMENT_ID = 5DBACE07117143EC81033485A8F62B07
SELECT ELEMENT_ID
FROM TMT_WBS
WHERE REFERENCE_NUMBER = 'Value of the field Project ID in the Identification Portlet of the Project';
Example
SELECT ELEMENT_ID
FROM TMT_WBS
WHERE REFERENCE_NUMBER = '12345'
- Run these 2 queries
SELECT LEVEL_LOCK, CALCULATE_FLAG, ROLLUP_FLAG
FROM PROJECT_DETAILS
WHERE PROJECT_ID ='<Project ID>';
SELECT REC_STATUS
FROM TMT_WBS
WHERE PROJECT_ID ='<Project ID>' AND REC_STATUS='L';
If one of the values above is not equal to these values, for the specific project, then you can update the table TMT_WBS and PROJECT_DETAILS as reported in step 3:
LEVEL_LOCK = 0
CALCULATE_FLAG = 0
ROLLUP_FLAG = 0
REC_STATUS = 'U'
- Fill out the Project ID into the WHERE clauses of the following queries.
UPDATE PROJECT_DETAILS
SET LEVEL_LOCK=0,
CALCULATE_FLAG=0,
ROLLUP_FLAG=0
WHERE PROJECT_ID ='<Project ID>';
UPDATE TMT_WBS
SET REC_STATUS='U'
WHERE PROJECT_ID='<Project ID>'
AND REC_STATUS='L';
[</code>]
In our example:
UPDATE PROJECT_DETAILS
SET LEVEL_LOCK=0,
CALCULATE_FLAG=0,
ROLLUP_FLAG=0
WHERE PROJECT_ID ='5DBACE07117143EC81033485A8F62B07';
UPDATE TMT_WBS
SET REC_STATUS='U'
WHERE PROJECT_ID='5DBACE07117143EC81033485A8F62B07'
AND REC_STATUS='L';
- Run these scripts.
- The RPM project is unlocked now.
[{"Product":{"code":"SSRR2G","label":"Rational Portfolio Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Work Management","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.2;6.2.2.3;7.0.0.0;7.0.1.1;7.0.2.2;7.0.3.3;7.0.4.4;7.0.5.5;7.1;7.1.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21283486