View previous topic :: View next topic
|
Author |
Message |
kalyanp_80
New User
Joined: 03 Feb 2006 Posts: 41 Location: Hyderabad
|
|
|
|
Hi,
Is there a way that I can see the list of User Id's currently active on MVS. I heard that there is a profile's dataset which will list all the active user ids.
Thanks
Amith |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
How do you define currently active? A TSO user who has been signed on for 4 hours but hasn't hit an enter key in 3.5 hours may still be "active" in the sense that an address space is being used, but there's not been any current activity in a while.
If I had to know, I'd use (E)JES or Mainview and filter on TSU. I'm not sure what you mean by
Quote: |
I heard that there is a profile's dataset which will list all the active user ids. |
and even if there is some such data set I suspect it will be protected against random applications programmers accessing it.
What is your business reason for needing to know this? I strongly recommend you contact your site support group and find out what, if any, tools they have to help you with this request and follow their advice as they know your site much better than we do. |
|
Back to top |
|
|
kalyanp_80
New User
Joined: 03 Feb 2006 Posts: 41 Location: Hyderabad
|
|
|
|
Hi,
This information was needed to clean up the datasets starting with User Id as HLQ and was created in a time period older than two years. As you mentioned, its a good idea to reach out to MVS site support to get this information.
Thanks
Amith |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
The only file with TSO IDs would be the RACF database (or similar product). A list could be created of IDs with TSO access. HLQs without a current ID could be migrated or deleted. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
HLQs without a current ID could be migrated or deleted. |
A slight expansion. . . "Inactive" Datasets would be good candidates, but unfortunately, sometimes Production data remains in non-Production dataset names - "there wasn time to rename everything to the proper dataset names. . .". |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
Quote: |
created in a time period older than two years. |
I do not think 'created' is a good indicator. The system keeps track of the last reference date. Something created 3 years ago but used every day since should not be deleted. ISMF will display the last reference date.
But your HSM should already be migrating rarely used datasets to less expensive storage. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Amith,
I believe starting-question in this thread taken us to different direction altogther.
Your follow up post says
Quote: |
This information was needed to clean up the datasets starting with User Id as HLQ and was created in a time period older than two years. |
if that's the motive this
Quote: |
see the list of User Id's currently active on MVS |
does not seem to be the right direction to move on -- have a look what Pedro has suggested. There can be some other DSNs also which were recently created starting with some RACF ID as HLQ but they are of no use.
Suggest you create a list of all such DSNs (whcih can be deleted) by your own and send them across to all who are/can be concerned, once they give you a "go-ahed" -- delete those DSNs. And anyway, you can not delete some DSN having some one else's RACF ID as HLQ (this much security I expect). |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
dataset cleanup is not a simple task not a quick one ...
it' s easy to find out the non_orphans
run a listuser and You will find the datasets that have to be kept
( if a user is defined the assumption is that it is <active> )
now comes the hard part...
classifying the orphans, it is a long clerical work of investigation
especially if the naming convention is a bit loose |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
So why doesn't the ILM (HSM / FDRABR / CADASD whatever) do all of this ? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Quote: |
classifying the orphans, it is a long clerical work of investigation |
Do agree -- it's a pain in A**. |
|
Back to top |
|
|
|