Page 1 of 1

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

Posted: Thu Oct 16, 2014 10:54 am
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.

Posted: Thu Oct 16, 2014 11:02 am
by chulett
Sounds like the project is corrupted, have you involved your official support provider yet?

Posted: Thu Oct 16, 2014 2:09 pm
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

Posted: Fri Oct 17, 2014 7:37 am
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?

Posted: Fri Oct 17, 2014 4:37 pm
by ray.wurlod
Try taking another export. Make sure (if you need them) that design data is included in the export.

Posted: Mon Oct 20, 2014 5:38 am
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???

Posted: Mon Oct 20, 2014 7:15 am
by chulett
Involve support.

Posted: Mon Oct 20, 2014 3:46 pm
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.

Posted: Thu Apr 23, 2015 10:42 am
by vintipa
Had to reconstruct the project from the repository.

Posted: Mon Apr 27, 2015 1:18 pm
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