Job running in a infinite loop

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
MOHAMMAD.ISSAQ
Participant
Posts: 78
Joined: Fri Mar 02, 2007 4:54 am
Location: CHENNAI

Job running in a infinite loop

Post by MOHAMMAD.ISSAQ »

I have a job that's running continuosly even if i try to stop it through director it's not stopping.
Can anyone tell me how to get the process id of the particular job and how to kill the job in Unix?

Please help me out..
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's almost definitely NOT an infinite loop - it's much more likely to be a hang (wait) of some kind.

What is the job doing? There are many reasons this behaviour may obtain. For example there may be an active session in a database and DataStage is waiting for this to complete. (You can kill the session in the database, which will send an error back to DataStage but will then permit the job to stop.)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
MOHAMMAD.ISSAQ
Participant
Posts: 78
Joined: Fri Mar 02, 2007 4:54 am
Location: CHENNAI

Post by MOHAMMAD.ISSAQ »

The job is under "running" status for the past 2 hrs.
The "clear status file" is not active for this job and i'm not able to view the job in "Cleanup Resources" option.

What might be the reason?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Perhaps it is no longer actually running, but the status still might indicate that. Can you re-compile the job?
MOHAMMAD.ISSAQ
Participant
Posts: 78
Joined: Fri Mar 02, 2007 4:54 am
Location: CHENNAI

Post by MOHAMMAD.ISSAQ »

Yes i'm able to compile the jobs.
It's just showing the status as "running".


Thanks for the help..
Post Reply