Can't see locks in DS.TOOLS

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
jhmckeever
Premium Member
Premium Member
Posts: 301
Joined: Thu Jul 14, 2005 10:27 am
Location: Melbourne, Australia
Contact:

Can't see locks in DS.TOOLS

Post by jhmckeever »

Hi Everyone,

We recently implemented proper user groups/privileges on our DS development environment and since then I haven't been able to see any locks using DS.TOOLS when logged in as dsadm.

Using LIST.READU gives me a list of locks no problem, but DS.TOOLS (option 5, then 4) gives nothing! I also get nothing when I try and list all processes (option 1). Any ideas?

Thanks,
John.
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No ideas off the top of my head, but I think that you should explain exactly what this means to help set the scene properly:
We recently implemented proper user groups/privileges on our DS development environment
-craig

"You can never have too many knives" -- Logan Nine Fingers
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Make sure you are connected in the project. Try for the same in TCL.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

For first time I pressed 5 then 4, it didnt gave me the list of locks. But for second in the same page I pressed 4, it gave me out the results.
I tried this form several project.
You too can try.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
jhmckeever
Premium Member
Premium Member
Posts: 301
Joined: Thu Jul 14, 2005 10:27 am
Location: Melbourne, Australia
Contact:

Post by jhmckeever »

chulett wrote:No ideas off the top of my head, but I think that you should explain exactly what this means to help set the scene properly:
We recently implemented proper user groups/privileges on our DS development environment
Craig:
User dsadm now has primary group 'dstage', as do all DataStage users. Each user also has secondary group 'dsdev' or 'dsopt' depending upon whether they should have developer or operator permissions on projects.

kumar_s:
I am logged on to my project. I get the same response no matter how many times I try the menu option. It's also the same if I exit UV and go back in.

John.
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Does the DS.TOOLS option give you anything at all?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
jhmckeever
Premium Member
Premium Member
Posts: 301
Joined: Thu Jul 14, 2005 10:27 am
Location: Melbourne, Australia
Contact:

Post by jhmckeever »

ray.wurlod wrote:Does the DS.TOOLS option give you anything at all?
Here's one on a project with a Manager and Designer connected:

Code: Select all

DataStage Process and Lock Administration

 1. List all processes
 2. List state of a process
 3. List state of all processes in a job
----------------------------------------------
 4. List all locks
 5. List locks held by a process
 6. List locks held by all processes in a job
----------------------------------------------
 7. Clear locks held by a process
 8. Clear locks held by all processes in a job
----------------------------------------------
 9. Logout a process
10. Logout all processes in a job
11. Clear status file for a job

Which would you like? ( 1 - 11 )  ?4
==========================Locks held by all processes==========================




Press any key to return to the menu...
The same for option 1 too. This is the same for all projects on the server. Other servers (on which we haven't implemented our user/group privileges) are OK. :(
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

I use the DS.Tools option to unlock the processes.
These are the steps I follow:
1. List.readu -- give you the Processes with usernames and jobs that are used or locked.
2. Note the PID number for the job to unlock.
3. DS.Tools
4. Option 7
5. Option 4
6. Enter the PID.
7. enter Y to confirm.

If by change even after entering the PID number you are not prompted for confirmation, then you will be taken to the main menu and follow the steps from 4 again.

IHTH
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

jhmckeever wrote:
ray.wurlod wrote:Does the DS.TOOLS option give you anything at all?
Here's one on a project with a Manager and Designer connected:

Code: Select all

DataStage Process and Lock Administration

 1. List all processes
 2. List state of a process
 3. List state of all processes in a job
----------------------------------------------
 4. List all locks
 5. List locks held by a process
 6. List locks held by all processes in a job
----------------------------------------------
 7. Clear locks held by a process
 8. Clear locks held by all processes in a job
----------------------------------------------
 9. Logout a process
10. Logout all processes in a job
11. Clear status file for a job

Which would you like? ( 1 - 11 )  ?4
==========================Locks held by all processes==========================




Press any key to return to the menu...
The same for option 1 too. This is the same for all projects on the server. Other servers (on which we haven't implemented our user/group privileges) are OK. :(
Press any key to return to the menu...

What comes after if you press Next or Respond at this stage?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
jhmckeever
Premium Member
Premium Member
Posts: 301
Joined: Thu Jul 14, 2005 10:27 am
Location: Melbourne, Australia
Contact:

Post by jhmckeever »

As promised, it returns to the menu.
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The equivalent command for option 4 is LIST.READU. I will have to research the equivalent command for option 7 but am not doing DataStage work this week.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply