UNLOCK JOB AND VOC FILE

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
goriparthi
Charter Member
Charter Member
Posts: 57
Joined: Fri Feb 24, 2006 7:44 am

UNLOCK JOB AND VOC FILE

Post 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.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
goriparthi
Charter Member
Charter Member
Posts: 57
Joined: Fri Feb 24, 2006 7:44 am

UNLOCK JOB AND VOC FILE

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

NO NEED TO SHOUT.
-craig

"You can never have too many knives" -- Logan Nine Fingers
goriparthi
Charter Member
Charter Member
Posts: 57
Joined: Fri Feb 24, 2006 7:44 am

UNLOCK JOB AND VOC FILE

Post by goriparthi »

chulett wrote:NO NEED TO SHOUT.

OK CRAIG

Thanks
Raj
DSer
Participant
Posts: 9
Joined: Thu Nov 09, 2006 11:53 pm

Re: UNLOCK JOB AND VOC FILE

Post 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:
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Seems to be alot of that going around suddenly. :?
-craig

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