Not able to Save, Compile or Import jobs in a project

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
vintipa
Participant
Posts: 136
Joined: Wed May 07, 2008 11:26 am
Location: Sydney, Australia
Contact:

Not able to Save, Compile or Import jobs in a project

Post by vintipa »

Hi Experts,

There is an issue in one of our development boxes. When we try to import certain jobs into this project it fails with below error:

"Mapping failed to copy attributes: JobDefn=>DSJobDef (EObject: null,
JobDefn)."

When I try to save a dummy job in the project then it says:
"Cannot find job ROOT"
then it repeats "Mapping failed to copy attributes: JobDefn=>DSJobDef
(EObject: null, JobDefn).

But few jobs import fine. Can you please help me get to the bottom of this issue? Applying patches/fixes as suggested by few forums is not an option because the same jobs get imported successfully into other projects on the same server.

Thanks and Regards,
Vinay.
Vinay
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sounds like the project is corrupted, have you involved your official support provider yet?
-craig

"You can never have too many knives" -- Logan Nine Fingers
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

The IBM Support Portal has a number of technotes with that error. In case you did not already search on it, here are a few links...

Is xmeta filling up?

http://www-01.ibm.com/support/docview.w ... wg21580174

Version 9.1 on non-English locale?

http://www-01.ibm.com/support/docview.w ... wg1JR46394

On z Linux?

http://www-01.ibm.com/support/docview.w ... wg1JR32186
Choose a job you love, and you will never have to work a day in your life. - Confucius
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

Check the file permissions on the project and sub folders.

It's a dev box, so maybe someone created some jobs and was not part of the primary dstage group. Thus person #2 might not be in that guys primary group and gets the shaft...

Are both projects on the same mount?

Did someone do an RM * in that project dir?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Try taking another export. Make sure (if you need them) that design data is included in the export.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vintipa
Participant
Posts: 136
Joined: Wed May 07, 2008 11:26 am
Location: Sydney, Australia
Contact:

Post by vintipa »

I have tried out all the options given above.
I have tried new freshly exported .dsx --- it failed.
I tried creating a new job in that project and save it ---- same error.
Hence the conclusion is that the project is corrupt.

Tried to delete the project and in this process fewLibrary files got deleted and now DS does not recognize it as a project. Neither can i delete it completely or create another project with same name.

Is there any way I can clear off the files manually and the entries in the metadata server and WAS so that the project get out of the GOST status???
Vinay
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Involve support.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

HOW did you "try to delete the project"?

If you try and take a cat apart to see how it works, the first thing you have on your hands is a non-working cat. -- Douglas Adams

Have you cleaned up both the DataStage engine tables and the XMETA tables that refer to this project?

Involve support.

Or create a project with a different name.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vintipa
Participant
Posts: 136
Joined: Wed May 07, 2008 11:26 am
Location: Sydney, Australia
Contact:

Post by vintipa »

Had to reconstruct the project from the repository.
Vinay
electajay
Participant
Posts: 36
Joined: Thu Apr 15, 2010 11:19 am

Post by electajay »

use isalite tool to restore the project from repository.

take the backup of this project directory with different name and create a new directory and use isalite tool restore project utility.

check in IBM portal. its pretty stright forward.

Thanks
A Kumar
Post Reply