IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Currently active USER ID's


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kalyanp_80

New User


Joined: 03 Feb 2006
Posts: 41
Location: Hyderabad

PostPosted: Thu Jun 25, 2009 1:41 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jun 25, 2009 2:13 am
Reply with quote

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
View user's profile Send private message
kalyanp_80

New User


Joined: 03 Feb 2006
Posts: 41
Location: Hyderabad

PostPosted: Thu Jun 25, 2009 2:35 am
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Thu Jun 25, 2009 2:46 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jun 25, 2009 3:28 am
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Thu Jun 25, 2009 6:30 am
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Jun 25, 2009 2:02 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Jun 25, 2009 2:11 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jun 25, 2009 2:21 pm
Reply with quote

So why doesn't the ILM (HSM / FDRABR / CADASD whatever) do all of this ?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Jun 25, 2009 2:50 pm
Reply with quote

Quote:
classifying the orphans, it is a long clerical work of investigation
Do agree -- it's a pain in A**.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts user exit in IBM Infosphere Optim DB2 8
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
Search our Forums:

Back to Top