Unable to copy a job

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
ds_ashish
Participant
Posts: 15
Joined: Thu Nov 23, 2006 12:30 am

Unable to copy a job

Post 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...
WoMaWil
Participant
Posts: 482
Joined: Thu Mar 13, 2003 7:17 am
Location: Amsterdam

Post 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.
Wolfgang Hürter
Amsterdam
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Code: Select all

SELECT CATEGORY FROM DS_JOBS WHERE NAME = 'CopyOfxxxxx';
-craig

"You can never have too many knives" -- Logan Nine Fingers
gbusson
Participant
Posts: 98
Joined: Fri Oct 07, 2005 2:50 am
Location: France
Contact:

Post by gbusson »

Go to the command line interface of the administrator and type the command :

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

Post 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.
Post Reply