How to clear the Locks in DS?

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
asvictor
Participant
Posts: 31
Joined: Tue Sep 02, 2003 3:06 am
Location: Singapore
Contact:

How to clear the Locks in DS?

Post by asvictor »

Hi

One of my Job is locked. I have been trying to clear the lock by cleaning up the resources. even then I can't clear the lock. Is there any any or any special command to clear them in the OS itself?

Cheers
Victor Auxilium
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Amazingly, there is a post exactly for that:

viewtopic.php?t=85570
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Teej
Participant
Posts: 677
Joined: Fri Aug 08, 2003 9:26 am
Location: USA

Post by Teej »

No! Really?

-T.J.
Developer of DataStage Parallel Engine (Orchestrate).
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You just did that for the points, yeah? :lol:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
anupam
Participant
Posts: 172
Joined: Fri Apr 04, 2003 10:51 pm
Location: India

Post by anupam »

Hi

go to ur project directory
execute these commands
1) . `cat /.dshome`/dsenv
2) `cat /.dshome`/bin/uv
then
DataStage Command Language 6.0
(c) Copyright 2002 Ascential Software, Inc. - All Rights Reserved
DSEngine logged on: Mon Dec 1 16:19:10 2003
will come
3) DS.TOOLS
Then choose option 5 another screen will come
choose option 4 to see the locks
and then note ur PID and
choose option 7 and give the pid to release the locks.
------------------------------------------------------------------------------
2nd options is go to Datastage administrator and execute command DS.TOOLS and then get the PID of the locked job and choose option 7 to release ur job.

By the way Ray has also done this for points :P
I hope this will resolve ur problem.
----------------
Rgds,
Anupam
----------------
The future is not something we enter. The future is something we create.
Post Reply