Able to save job with same name

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
ketfos
Participant
Posts: 562
Joined: Mon May 03, 2004 8:58 pm
Location: san francisco
Contact:

Able to save job with same name

Post by ketfos »

Hi,
I modify a job and save it.
When I look into the Designer, I see same job name twice in the Designer.
I am able to open both the jobs although they ahve same name?

Any help will be appreciated.

Ketfos
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Check whether it has special char in its name. Also whether something like '0' instead of 'O' or 'o'.

Can you let us know how you confirmed this duplication.

Try calling the job from a sequencer or batch and see which one runs.
ketfos
Participant
Posts: 562
Joined: Mon May 03, 2004 8:58 pm
Location: san francisco
Contact:

Post by ketfos »

Yes, I checked and there is no special char in it.
I simply saved the job after modify.

Ketfos
manteena
Premium Member
Premium Member
Posts: 38
Joined: Thu Feb 10, 2005 1:43 pm
Location: USA

Re: Able to save job with same name

Post by manteena »

ketfos wrote:Hi,
I modify a job and save it.
When I look into the Designer, I see same job name twice in the Designer.
I am able to open both the jobs although they ahve same name?

Any help will be appreciated.

Ketfos
check for case sensitivity in the job name
There must be a difference in the name. if not, i don't think that DS allows same name for the jobs
dsxuserrio
Participant
Posts: 82
Joined: Thu Dec 02, 2004 10:27 pm
Location: INDIA

Post by dsxuserrio »

You can not have same job name for two jobs in the same category. Can you post the job and category names of the two jobs please??
dsxuserrio

Kannan.N
Bangalore,INDIA
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Duplicate keys are not possible in hashed files, and DS_JOBS is a hashed file with NAME as its key. That's why duplicate names are not possible.

Under some circumstances, however, you can see duplicate key values in corrupted hashed files, or hashed files with corrupted indexes. Check that DS_JOBS is not corrupted and that its indexes don't need rebuilding.

Commands are:

Code: Select all

UVFIXFILE DS_JOBS
LIST.INDEX DS_JOBS ALL
It's more likely that the indexes are the problem. Repair with

Code: Select all

DS.REINDEX DS_JOBS 
to use which you will need exclusive access, so you may as well do the lot.

Code: Select all

DS.REINDEX ALL
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

dsxuserrio wrote:You can not have same job name for two jobs in the same category.
Just to clarify, you cannot have two jobs with the same name regardless of category. :wink: Each job name much be unique to the project.

Unless, of course, (as people are suspecting) the structures holding this information are corrupt, then all bets are off.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply