Page 1 of 1

Unable to copy a job

Posted: Thu Oct 25, 2007 11:34 pm
by ds_ashish
Hi All,

I'm trying to copy one job, but i'm unable to copy it and DS is prompting "Error: The name 'CopyofJob' is already in use.

1) I Checked the entire project and it's not visible in project :shock:

2) Also checked the Cleanup Resource if job locked, but there also i'm not able to find it :(

Please let me know if any other way to find out a particular job, is there any way from Administrator?

Please Plx reply soon :!:

Thanks in Adv...

Posted: Fri Oct 26, 2007 1:08 am
by WoMaWil
export the job.

open the dsx-file in an editor for example word.

change the Jobname (appears several times in the file) to the new name.

import the job.

Posted: Fri Oct 26, 2007 5:59 am
by chulett

Code: Select all

SELECT CATEGORY FROM DS_JOBS WHERE NAME = 'CopyOfxxxxx';

Posted: Fri Oct 26, 2007 7:48 am
by gbusson
Go to the command line interface of the administrator and type the command :

DS.REINDEX ALL

Posted: Fri Oct 26, 2007 5:00 pm
by ArndW
To add to what gbusson suggested, make sure that all DataStage users are logged out when you do this, otherwise the index will be corrupted and no jobs will be visible until you correctly reindex.