Unable to create a Project with deleted name

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

That is the problem, even FIX option gives the same result.

Code: Select all

** '/path/Project' is not a DataStage account.

Items marked with a '**' are situations where VERIFY.SQL could not continue.
But Adminsitrator client cannot create an account with the same name.
Which gives the error of 'Schema already exist'.

Should I need 'DROP' in UV.SCHEMA?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Create a new dummy account and copy the contents into that path. Later on delete the dummy acount. Do not copy a live account.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

ArndW wrote:Create a new dummy account and copy the contents into that path. Later on delete the dummy acount. Do not copy a live account.
Yes...
Buy creating a dummy project, and creating a dummy directory with the project2 name, and copying all the content of the dummy project directory to the proejct2 directry and inserting an entry into UV.ACCOUNT creates a valid entry.
Now it allows to delete from Adminstrator client.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
pneumalin
Premium Member
Premium Member
Posts: 125
Joined: Sat May 07, 2005 6:32 am

Post by pneumalin »

Kumar_s,
Could you please post all the steps fix your problem, so we can learn from it.
Thanks!

Please discard my wrong posting on the other thread - Insert new recrod to UV.ACCOUNT. My apology.. :oops:

Pneuma.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Since this problem was caused by inadvertantly doing something that shouldn't have been done in the first place and many of the steps touched upon in this thred have the potential of breaking not only a single project but the whole installation I would not feel comfortable describing all these steps. I know that someone, sometime will look at some of the steps involving the VOC or UV_SCHEMA files, try them and need to re-install DataStage because of it ... and then state "But I read it on DSXChange..."

It reminds me of doing support work for an operating system called PRIMOS (a precursor to today's UNIX) and the command to format a disk used an octal/hex number to define the platters to format and it was possible to get that numbe wrong and format a part of a running partition. The command could only be called from the equivalent of root and after you entered all the details it would ask "Are you sure?" and you had to spell out "yes", then it asked again, "Are you really sure?" and once again you had to spell out the full answer. Only then would it go away and do its formatting work.

Yet we still got support calls from customers where they said "I mistakenly entered the format commands... Your software sucks and it's your fault I have 500 users who can't work until we reinstall the OS..." :shock:
pneumalin
Premium Member
Premium Member
Posts: 125
Joined: Sat May 07, 2005 6:32 am

Post by pneumalin »

Arnold,
Thanks for the advise. That's a very good advise.
I just thought the steps might come in handy when I've done something stupid and no where to go except rebuilding the server or the project.

An incident once happens to my environment when I am adding a new project to DS server in Administrator, a power shutdown strikes us. The project folder is created in DS server. It did not show in Administrator Project list as a valid project, and I cannot create a new project using the same name.
I would appreciate it if you can provide a series of safe steps to remove the bad project folder, so that I can create the new project using the same name.

Thanks!
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

From this thread you will have seen 2 places in the engine which might prevent an account from being re-used. The first is an entry in the UV.ACCOUNT file and the other is an entry in the UV_SCHEMA. Does your bad project exist in the UV_SCHEMA file (LIST UV_SCHEMA {projectname})?
Post Reply