cannot find 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
dspxguy
Participant
Posts: 156
Joined: Thu May 24, 2007 4:09 pm
Location: Simi Valley, CA

cannot find job

Post by dspxguy »

There is a job which is running since last month.
I came to know when I executed this command.

Code: Select all

 ps -ef|grep -i osh 
But When I look for this job it is not in DataStage.

Code: Select all

 cannot find job jobname 
Did a grep on the jobnumber

Code: Select all

 The file *3122 does not exist 

do I have to run a DS.CHECKER now?
it seems the job does not exist in the project but the process is still running on unix. any ideas how to remove the hanging process?

Thanks
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The output doesn't make sense. What were the 2 other commands you ran?

The output of the "ps -ef | grep osh" should give pids as well as text references to jobs. How did you get from there to job numbers?
dspxguy
Participant
Posts: 156
Joined: Thu May 24, 2007 4:09 pm
Location: Simi Valley, CA

Post by dspxguy »

ArndW wrote:The output doesn't make sense. What were the 2 other commands you ran?

The output of the "ps -ef | grep osh" should give pids as well as text references to jobs. How did you get from there to job numbers?

Yeah it did give me pid and some text along with RT_SC3122.
I got the job number and then tried to find the job but couldnt.
in the project dorectory did

Code: Select all

 ls |grep 3122 
couldnt find anything.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Job number 3122 cannot be found that way. From your admin command line try "LIST DS_JOBS WITH JOBNO EQ 3122" to get the job name that corresponds to that job number.
dspxguy
Participant
Posts: 156
Joined: Thu May 24, 2007 4:09 pm
Location: Simi Valley, CA

Post by dspxguy »

Andrw...here is the o/p

Code: Select all

 0 records listed 
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Odd, then please attach to your project directory from unix and see if there are any files in there with 3122 in their names. There should be several.
dspxguy
Participant
Posts: 156
Joined: Thu May 24, 2007 4:09 pm
Location: Simi Valley, CA

Post by dspxguy »

ls -lrt *3122

ls: 0653-341 The file *3122* does not exist.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Code: Select all

ls -lrt *3122*
and make sure you are in the project directory (ls should show hundreds if not thousands of entries, many with 4 digit numbers in their name).

do you have several projects? If so, that job might be related to another project.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It seems suspicious that a deleted job is still running - DataStage ordinarily would not permit deletion of a running job. Are you certain that job #3122 was started from the project in question? Does the process that is the running job hold any locks in the DataStage repository (use the LIST.READU command to find out).

It's too early to contemplate using DS.CHECKER.

Have you tried clearing the status file of the "running" job?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dspxguy
Participant
Posts: 156
Joined: Thu May 24, 2007 4:09 pm
Location: Simi Valley, CA

Post by dspxguy »

the list_readu command does not show any locks associated with this job.
i dont see the job anywhere in the director therefore cant clear the status file.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Are you certain that job #3122 was started from the project in question? Could it have been started from a different project?
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