How to get process id of job

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
adasgupta123
Participant
Posts: 42
Joined: Fri Oct 20, 2006 1:58 am

How to get process id of job

Post by adasgupta123 »

Hi,

I want to kill all running jobs in a project.
But I am unable to login to datastage client,if any case I am able
to log in and trying to abort the job the server is not responding.

So I want to kill the jobs from operating system.
How can I get the process Ids of running jobs.

I want to go in following way:
issue the following commmand:
ps -ef | grep 'STRING' to get the pids
and then kill by kill -9.

So I want to know the STRING which I will use in grep command for
pattern matching.

Is there any way to kill jobs from Datastage Admin?

Thanks and Regards

Avik Dasgupta
4friends
Participant
Posts: 71
Joined: Tue May 01, 2007 12:51 pm
Location: Mumbai

Re: How to get process id of job

Post by 4friends »

from datastage director goto cleanup resources there u can get the procees ids for particular jobs.due to those ids u can kill the jobs.
adasgupta123 wrote:Hi,

I want to kill all running jobs in a project.
But I am unable to login to datastage client,if any case I am able
to log in and trying to abort the job the server is not responding.

So I want to kill the jobs from operating system.
How can I get the process Ids of running jobs.

I want to go in following way:
issue the following commmand:
ps -ef | grep 'STRING' to get the pids
and then kill by kill -9.

So I want to know the STRING which I will use in grep command for
pattern matching.

Is there any way to kill jobs from Datastage Admin?

Thanks and Regards

Avik Dasgupta
thanks & regards
kk
adasgupta123
Participant
Posts: 42
Joined: Fri Oct 20, 2006 1:58 am

Re: How to get process id of job

Post by adasgupta123 »

Hi,

But I am not able to login to Dastage Director.I want to get the process
id directly from operating systems

4friends wrote:from datastage director goto cleanup resources there u can get the procees ids for particular jobs.due to those ids u can kill the jobs.
adasgupta123 wrote:Hi,

I want to kill all running jobs in a project.
But I am unable to login to datastage client,if any case I am able
to log in and trying to abort the job the server is not responding.

So I want to kill the jobs from operating system.
How can I get the process Ids of running jobs.

I want to go in following way:
issue the following commmand:
ps -ef | grep 'STRING' to get the pids
and then kill by kill -9.

So I want to know the STRING which I will use in grep command for
pattern matching.

Is there any way to kill jobs from Datastage Admin?

Thanks and Regards

Avik Dasgupta
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

NEVER use kill -9 on a DataStage process!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Let's solve the problem of why you can't log in using Director.

What error message is emitted?
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