How to find the Job Name?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
rahulverma
Participant
Posts: 11
Joined: Wed Feb 25, 2009 11:00 pm
Location: Bangalore/Hyderabad

How to find the Job Name?

Post by rahulverma »

Hello All,

I have a parallel job No2 which is looking for a file as a source.
But the problem here is, the job No1 which creates the particular file is not generating proper file, which is leading to abortion of the job No2.
I am trying to look for the Job No1 among many jobs in repository so as i can check and debug it.
Could you please suggest how do i find Jobname which is creating a file(file name is known to the user)?
Early response is appreciated.
Thanks in advance.
samyamkrishna
Premium Member
Premium Member
Posts: 258
Joined: Tue Jul 04, 2006 10:35 pm
Location: Toronto

Re: How to find the Job Name?

Post by samyamkrishna »

try this.

go to $DSHOME

run the following commands

1: uv
2: LOGTO <PROJECT NAME>
3: SELECT * FROM DS_JOBS WHERE NAME='JOB NO1';
rahulverma
Participant
Posts: 11
Joined: Wed Feb 25, 2009 11:00 pm
Location: Bangalore/Hyderabad

Post by rahulverma »

Thanks for the quick reply.
But my concern is to find out the JobName itself.
I know the file name which is being created by this JOB.
With the help of this file name, i need to find out the Parallel job name.
samyamkrishna
Premium Member
Premium Member
Posts: 258
Joined: Tue Jul 04, 2006 10:35 pm
Location: Toronto

Re: How to find the Job Name?

Post by samyamkrishna »

DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Search here for Kim's sql that takes in the file name and then searches all the jobs along with their category names, that are using that particular file.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Do a "where used" on the table definition. You DO rigorously manage your metadata, don't you?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply