Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Currently active USER ID's

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Currently active USER ID's
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: 7997
Location: Bellevue, IA

PostPosted: Thu Jun 25, 2009 2:13 am    Post subject:
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Thu Jun 25, 2009 3:28 am    Post subject:
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

Senior Member


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

PostPosted: Thu Jun 25, 2009 6:30 am    Post subject: Reply to: Currently active USER ID's
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

Senior Member


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

PostPosted: Thu Jun 25, 2009 2:02 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Thu Jun 25, 2009 2:11 pm    Post subject: Reply to: Currently active USER ID's
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jun 25, 2009 2:21 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Jun 25, 2009 2:50 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts User Cancels the job PANDU1 DB2 1 Sat Mar 04, 2017 8:21 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm
No new posts SORT - E15 and E35 using same user ex... Abhi Nature DFSORT/ICETOOL 12 Mon Oct 03, 2016 4:33 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us