Page 1 of 1

UNLOCK JOB AND VOC FILE

Posted: Thu Nov 16, 2006 9:39 am
by goriparthi
HI I HAVE JOB WHICH IS GOT LOCKED AND I WANT TO UNLOCK IT

I FOLLOWED THE SAME PROCEDURE WHIC1) Login in into the Datastage server box from the command line

as datastage adminstrator
2) goto Home directory i.e DSEngine directory
3) enter . ./dsenv
4) enter bin/uv or enter bin/dssh
5) LOGTO Project [project is your project name]
6) LIST.READU EVERY
7) Under ACTIVE Recors Locks, you have a Item_ID column, where

you can find the job you want to unlock
8) get the node number [column 2] and the user number [column 4]

for the locked job you have identified
9) enter LOGTO UV
10) DS.UNLOCK NODE nodenumber USER usernumber ALL
11) Press Q to quit from Command mode to Unix mode H IS MENTIONED BELOW


Here i got a error when i tried to do DS.UNLOCK saying

verb 'ds.unlock' is not in your voc

so i found another post which says i have to copy unlock command to voc
like this1. SET-FILE UV VOC UV.VOC
2. COPYI FROM UV.VOC TO VOC 'UNLOCK'

Then i tried to do the same thing

but unfortunately i did this

set-file uv.voc to voc 'unlock'

and it asked me some qname: something like this then i did this

copyi from uv.voc to voc 'unlock' it didnt work out.

now i tried to do the correct process and got the following error

>SET-FILE UV.VOC TO VOC
VOC is already in VOC as type F. Cannot overwrite.
>COPYI FROM UV.VOC TO VOC 'UNLOCK'
Unable to open "UV.VOC" file.


Can anyone help me understand whats going on and what i should do to comeout of this situation.

Posted: Thu Nov 16, 2006 10:14 am
by ray.wurlod
SET-FILE and SETFILE are different commands. The "TO" is not part of the command, it is displayed as a prompt requiring further input.

Execute the DS.TOOLS menu instead, and use the unlock facilities therein. This saves you fiddling with arcane demands that can do damage.

UNLOCK JOB AND VOC FILE

Posted: Thu Nov 16, 2006 11:05 am
by goriparthi
Thanks RAY

I CORRECTED IT AND NOW I CAN UNLOCK JOBS.



ray.wurlod wrote:SET-FILE and SETFILE are different commands. The "TO" is not part of the command, it is displayed as a prompt requiring further input.

Execute the DS.TOOLS menu instead, and use the unlock facilities therein. This saves you fiddling with arcane demands that can do damage.

Posted: Thu Nov 16, 2006 11:13 am
by chulett
NO NEED TO SHOUT.

UNLOCK JOB AND VOC FILE

Posted: Fri Nov 17, 2006 3:05 pm
by goriparthi
chulett wrote:NO NEED TO SHOUT.

OK CRAIG

Thanks
Raj

Re: UNLOCK JOB AND VOC FILE

Posted: Fri Nov 17, 2006 3:26 pm
by DSer
goriparthi wrote: OK CRAIG
Hey dont get it wrong,

All Craig wanted to say was, is writing in UPPER case is like shouting.

You are doing it again! :roll:

Posted: Fri Nov 17, 2006 3:26 pm
by chulett
Seems to be alot of that going around suddenly. :?