Unlock the jobs

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
jpraveen
Participant
Posts: 71
Joined: Sat Jun 06, 2009 7:10 am
Location: HYD

Unlock the jobs

Post by jpraveen »

HI

I tried to Unlock the jobs and i used some standard methods from Director and Unix and i am not successful.

I don't have Admin privilages as i am a developer.

In Director i had done cleanup resource and logout the processes, based on PID.

Also in UNIX box i had killed the process by PID, but it was getting an message ----- No such Process.

Can u let me know any alternative method to unlock the job with out ADMIN rights.



Version Datastage 7.5.2 server
Jaypee
arunkumarmm
Participant
Posts: 246
Joined: Mon Jun 30, 2008 3:22 am
Location: New York
Contact:

Post by arunkumarmm »

I dont think you need admin right for this. Double check your process ID.

Alternatively you can login to your Admin client (As a developer), and try to kill it from there, with job name I guess.
Arun
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

What sort of a lock do you have a problem with? Indiscriminantely logging out processes is not a good idea. Also, do you have the deadlock daemon running?
jpraveen
Participant
Posts: 71
Joined: Sat Jun 06, 2009 7:10 am
Location: HYD

Post by jpraveen »

The issue is i am not able to export the jobs (.dsx)

it was throughing error like , the job is being is used by another user.

and there were no users currently.

so i want to clear the lock or cleanup resource from Director or UNIX.

@Arun, i even tried in administrator, can you let me know how to proceed?
Jaypee
arunkumarmm
Participant
Posts: 246
Joined: Mon Jun 30, 2008 3:22 am
Location: New York
Contact:

Post by arunkumarmm »

Are you not able to open the job as well or just only the at the time of export?

If you can open the job, try compiling the job or a force compile.

To the best knowledge I have, cleanup resources is the only way to find the PID for a job. And all you need to do, is the export for now, you can try to create a copy job (I hope this works even if it is locked) and export it and rename the job inside dsx before import.
Arun
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I would suggest you search here for DS.TOOLS which is another mechanism find PIDs and handle all aspects of lock management in your version. You can run this from the Administrator client.
-craig

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