Unlock Job on Unix Server

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
rdgsantos
Participant
Posts: 3
Joined: Sun Mar 06, 2005 10:05 pm

Unlock Job on Unix Server

Post by rdgsantos »

Hi,

I cannot unlock job with command UNLOCK INODE <> ALL after get inode number with LIST.READU ALL.

This message appear:
Cannot get exclusive access to executable file for job Load_Cust_S

Anybody know solution for this problem?

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

Post by ray.wurlod »

Where, and with what authority (login), are you attempting to use the UNLOCK command?

Try using the Cleanup Resources option in Director.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
flashgordon
Premium Member
Premium Member
Posts: 99
Joined: Tue Aug 17, 2004 7:50 am
Location: Boulder, Colorado

Post by flashgordon »

Hi, you probably know this and I don't know if it's an option in your environment, but if you just want the problem to go away, stop and restart your Datastage server and the lock will go away. I am pretty sure locks happen for the current running Datastage instance
Flash Gordon
Hyperborean Software Solution
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sure, but that will solve one problem and probably create a slew of other ones. :wink:

Your error would imply that the job is currently running... is it? As Ray noted, Cleanup Resources from the Director client can be used to 'logout' (kill) that process. And to release any stray locks as well.
-craig

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