Begin by determining that there is an entry for the project in both the UV.ACCOUNT and UV_SCHEMA system tables.
Code: Select all
SELECT @ID,PATH FROM UV.ACCOUNT WHERE @ID = '<<ProjectName>>';
Code: Select all
SELECT SCHEMA_NAME, PATH FROM UV_SCHEMA WHERE SCHEMA_NAME = '<<ProjectName>>';
Let's make sure that your Step 1 is correct next.
Was this successful? Was there an error message? (You mis-spelled the command.)
Did you actually end up in the project? The command
WHO executed at the TCL prompt will report which account you are in. You should secondarily verify that you are in the correct directory.
(UNIX users should use
SH -c pwd here.)
If the command WHO reports UV rather than the project name, then the LOGTO was not successful, which might well be the case if the project is corrupted.
In that case you need to determine the contents of the project directory. At the operating system level obtain a directory listing of the project directory's contents. Please post that listing here (in Code tags); it will not show any confidential information.
Based on the contents of the project directory, and of entries in the UV.ACCOUNT and UV_SCHEMA tables, you can then determine whether VERIFY.SQL will be of any use to you. As you've seen, arbtrarily requesting a FIX is not sufficient - there are various syntax options needed to tell the utility more precisely what to do.
To answer your main question, there is no single solution to a corrupted project. It depends how and why it got corrupted.