Who is connected to a project?

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
bcarlson
Premium Member
Premium Member
Posts: 772
Joined: Fri Oct 01, 2004 3:06 pm
Location: Minnesota

Who is connected to a project?

Post by bcarlson »

If we need to do some maintenance to a project, is there a way to check to see if anyone is connected to it?

For example, UV commands like DS.REINDEX ALL or DS.CHECKER require exclusive access to the project. How can I tell if anyone is using the project?

Brad.
RobertScarbrough
Participant
Posts: 24
Joined: Fri Oct 01, 2004 1:43 pm
Location: USA

Post by RobertScarbrough »

Try to run the following command

netstat -a |grep dsrpc

For us it shows the machine number in use by the developer. That will show everyone using DataStage on that machine, not project. Gives you a place to start at least.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You also need to investigate the use of the LIST.READU function, which is also available from the command like as 'list_readu' in the bin directory.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

From the operating system issue the command $DSHOME/bin/list_readu and pipe the result through grep filtering for the project name.

Every connected client takes a shared lock project&!DS.ADMIN!& so that the Administrator client (or you) can rapidly determine whether there are any clients connected to that particular project.

If the report is empty, there are none.
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