How to abort a job from back end process

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
suresh.narasimha
Premium Member
Premium Member
Posts: 81
Joined: Mon Nov 21, 2005 4:17 am
Location: Sydney, Australia
Contact:

How to abort a job from back end process

Post by suresh.narasimha »

Hi Everyone

Goodmorning

I have a source(seq file), a transformer and 2 targets one seq file and the other as OCI.

I have constraints to my targets, so zero records are being written into my seq file and rest all records are routed to OCI ( about 1 million )

This job is running since 5 days for a simple insert statement. When our DBA tried to kill oracle session related to this..nothing he found there.

I'm not able to stop the job through director.

How can stop it now ?

What would have happened ?

Suggestions please...
SURESH NARASIMHA
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Are there any processes related to the job still running? If you do a "ps -ef |grep phantom" does anything show up for this 5 day job?
-craig

"You can never have too many knives" -- Logan Nine Fingers
suresh.narasimha
Premium Member
Premium Member
Posts: 81
Joined: Mon Nov 21, 2005 4:17 am
Location: Sydney, Australia
Contact:

How to abort a job from back end process

Post by suresh.narasimha »

Hi Chulett

Thanks for your reply.

ps -ef |grep phantom did not show my job name.

There are 2 sequences and a job running since 5 days.

I'm not able to compile those ....saying cannot give exclusive access..

Please suggest..

These 3 jobs are in production now.. i need to stop those and reimport from UAT.

i cannot restart Datastage server or the OS strictly.

Thanks & Best Regards
SURESH NARASIMHA
suresh.narasimha
Premium Member
Premium Member
Posts: 81
Joined: Mon Nov 21, 2005 4:17 am
Location: Sydney, Australia
Contact:

How to abort a job from back end process

Post by suresh.narasimha »

Hi Chulett

Thanks for your reply.

ps -ef |grep phantom did not show my job name.

There are 2 sequences and a job running since 5 days.

I'm not able to compile those ....saying cannot give exclusive access..

Please suggest..

These 3 jobs are in production now.. i need to stop those and reimport from UAT.

i cannot restart Datastage server or the OS strictly.

Thanks & Best Regards
SURESH NARASIMHA
rajngt
Participant
Posts: 32
Joined: Wed Jan 04, 2006 6:22 am

Post by rajngt »

As there is no oracle session and datastage process are running, do clear status file. In Datastage Director --> Job --> Clear status file.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Have you checked via the Director's 'Cleanup Resources'? Set it to show all processes and look for either your job name or number, then log it out.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This is all so bad!

The "proper" way to abort a job (if there is any "proper" way, which I doubt) is to have some mechanism that the job sequence itself can detect, such as the existence/non-existence of a file.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
suresh.narasimha
Premium Member
Premium Member
Posts: 81
Joined: Mon Nov 21, 2005 4:17 am
Location: Sydney, Australia
Contact:

How to abort a job from back end process

Post by suresh.narasimha »

Hi All

Thanks for suggestions.

I have tried -

1. Clear status file - im not able to compile
2. Clean up resources and logout - not showing PID for the job.

So , i have renamed my jobs and imported into production.

But those jobs are " still working hard "

Please suggest me a solution ...just want to know

Cheers
SURESH NARASIMHA
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Suggest you look closer in the 'Cleanup Resources' panel. The "pid" won't always show based on the job name, sometimes you have to lookup the job number and then look for an RT_* entry with that number:

RT_CONFIGnnn
RT_LOGnnn

Etc.
-craig

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