Hi DSXians,
I mistakenly deleted an accout in UV.ACCOUNT. May i know, the possibility to insert it back.
Note: The Project directory still exist in unix.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
That was due to wrongly used Wild Chard character. But One of the project is completely removed. But still it gives me error that 'Schema already present, If I recreate with the same name. I have deleted the account. No project directory exist in Unix.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
No, not VERIFY.SQL (this fixes UV_SCHEMA). Yes, you can use a regular INSERT, or even a copy. Maybe ED is even better; open an existing project's record, replace the pathname and file as the name you accidentally deleted. For example, if you deleted Project2 (pathname is /usr/Ascential/DataStage/Projects/Project2) and Project1 still exists in UV.ACCOUNT.
ray.wurlod wrote:No, not VERIFY.SQL (this fixes UV_SCHEMA). Yes, you can use a regular INSERT, or even a copy. Maybe ED is even better; open an existing project's record, replace the pathname and file as the name you accidentally deleted. For example, if you deleted Project2 (pathname is /usr/Ascential/DataStage/Projects/Project2) and Project1 still exists in UV.ACCOUNT.
ED UV.ACCOUNT Project2
LOAD Project1
1
14
G11
R /usr/Ascential/DataStage/Projects/Project2
FILE
Superb :D
Is it like, we loaded the template of Project1 into UV.ACCOUNT for values of Project2 record.
May i know the similar Insert command, I tried but it happily gave me lot of errors.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
kumar_s wrote:That was due to wrongly used Wild Chard character. But One of the project is completely removed. But still it gives me error that 'Schema already present, If I recreate with the same name. I have deleted the account. No project directory exist in Unix.
Kumar, editing the UV.ACCOUNT should be sufficient. What happens if you try a "LOGTO Project2"? It sounds like your changing the values in the editor didn't quite work correctly.
ArndW wrote:Kumar, editing the UV.ACCOUNT should be sufficient. What happens if you try a "LOGTO Project2"? It sounds like your changing the values in the editor didn't quite work correctly.
{project} is not a valid account name.
Is for the one which was deleted from unix, UV.ACCOUNT but cannot be recreated with the same name.
Now if I retry from Datastge Administrator Clinet, it keeps mum.., not even a warning message.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
This tells me that your ED UV.ACCOUNT Project2 was not done correctly; confirmed by your not finding that entry when doing your SELECT * FROM UV.ACCOUNT... statement.
What do you mean
Is for the one which was deleted from unix
- this is a different problem. I understood that you mistakenly deleted an entry from the UV.ACCOUNT file but that the project directory remained intact at UNIX level. The UV_SCHEMA entries will also be in order as long as all you did was remove a record from teh UV.ACCOUNT file.
say if this is the project folder /usr/Ascential/DataStage/Projects/Project2
All of a sudden I got lot of folder under /usr/Ascential/DataStage/Projects.
With the name of Project2_nnnn.
Nearly around 3000. It all contains Type 30. OVER.30,DATA.30 present in it.
By any change its due to the command
One should never, ever, ever run VERIFY.SQL in FIX mode without first running it without FIX to see what you are about to "fix". The syntax to repair the Catalog from the project is not what you used. This may be very difficult to recover.
The additional entries in the project directory are probably a result of rebuilding from the Catalog rather than the reverse, and the damage may not be recoverable. Do you have a backup of Project2?
If so, the cleanest method of recovery is probably to remove Project2 using the Administrator, clean up anything that needs to be cleaned up because it couldn't be deleted, then create a new Project2 before restoring its contents from backup.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.