Page 1 of 1

job is being accessed by another user

Posted: Mon May 11, 2009 4:47 am
by clausskou
Hi,

One of our developers has asked me to unlock a job, so when I went to the Director in order to unlock the job, I could release the lock, but to no avail - it is still locked. When I looked at again, I noticed that the PID was 0. How do I unlock a job with PID = 0?

Please help.

Best regards,

Claus

Posted: Mon May 11, 2009 6:29 am
by chulett
First question - did you attempt this as either 'dsadm' or the logged in user you were attempting to unlock?

Posted: Mon May 11, 2009 3:53 pm
by ray.wurlod
This is a lock held by a defunct process. You need to release such locks either using the UNLOCK command or by re-starting DataStage. The UNLOCK command includes options for specifying a particular lock in several different ways.

Code: Select all

|       UNLOCK [NODE node] [USER user.number]                                  |
|          [FILE pathname | [DEVICE device.number]                             |
|          [INODE i.node.number]] [GROUP group.address]                        |
|          [RECORD record.ID]                                                  |