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
 

 

How to know users logged on to mainframe on a perticular day

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
VenkataRao G

New User


Joined: 10 Nov 2009
Posts: 3
Location: Bengalore

PostPosted: Thu Mar 04, 2010 10:00 pm    Post subject: How to know users logged on to mainframe on a perticular day
Reply with quote

Hi ,

I want to find out the users who logged in to the Mainframe on a perticular day.
I hope it is possible with SMF details.
Ex: I want to know who are all the users logged on to the system on 2nd, Mar 2010.

Thank you for your help in advance.

If you need any additional information, Please let me know.
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Mar 04, 2010 10:10 pm    Post subject:
Reply with quote

SMF :

Record Type 32 (20) — TSO/E User Work Accounting
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Thu Mar 04, 2010 10:14 pm    Post subject:
Reply with quote

I'm sure the SMF record type 20 will give you what you want. However, I think your requirement is a bit fuzzy. My TSO user id, for example, doesn't expire -- as a system programmer, I need to be able to access the system so after an IPL when I log in, I don't log out (usually) until the next IPL. So even though I didn't log on March 2nd, I did use the system extensively that day -- so do I count or not in your numbers? If you go only by the type 20 records, I won't have one for March 2nd.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Thu Mar 04, 2010 10:16 pm    Post subject:
Reply with quote

Actually, Peter, type 32 does not have TSO/E login information -- that's in the type 20 (Job Initiation) records.
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 Mar 04, 2010 10:20 pm    Post subject: Reply to: How to know users logged on to mainframe on a pert
Reply with quote

Decimal 32 = x'20'?

d
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Thu Mar 04, 2010 10:47 pm    Post subject:
Reply with quote

x'14' has job initiation, x'20' has TSO/E log out data, such as commands issued.
Back to top
View user's profile Send private message
lokesh vasanthi

New User


Joined: 19 Aug 2005
Posts: 17
Location: Chennai, India

PostPosted: Fri Mar 05, 2010 6:27 am    Post subject:
Reply with quote

Hi,

I am not familiar with the above you all talking about, Is anybody telle me what is SMF and where to give to see the users logging.

Thanks in advance.

Nanda
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: Fri Mar 05, 2010 6:30 am    Post subject:
Reply with quote

Hello,

SMF is where system activity is recorded.

Suggest you talk with the system support people as they already use SMF data (most likely) and can show you some local examples.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Fri Mar 05, 2010 7:34 am    Post subject:
Reply with quote

System Management Facility (SMF) data is complex, often goes down to the bit level, and requires a lot of time to understand. Most sites also have tools that summarize and analyze it, so contacting your site support group (as Dick suggested) is, by far, your best bet for getting what you need.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Mar 05, 2010 7:40 am    Post subject:
Reply with quote

Check with your Security People, they may already have that info. Just be ready to answer why you need it and have someone above you to vouch for your need.
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: Fri Mar 05, 2010 12:35 pm    Post subject:
Reply with quote

The type 30 INTERVAL records should have that information, but then it all depends on the collection criteria set up by your systems programmers.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Mar 05, 2010 1:13 pm    Post subject:
Reply with quote

Robert Sample wrote:
Actually, Peter, type 32 does not have TSO/E login information -- that's in the type 20 (Job Initiation) records.


Hello Robert,
thats right Record Type 32 (20) is for accounting purposes.
Record Type 30 (1E) gives start/stop information.

But Record Type 32 (20) has that information too if i remember well.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Fri Mar 05, 2010 5:22 pm    Post subject:
Reply with quote

nandakumar selvaraj wrote:
I am not familiar with the above you all talking about, Is anybody telle me what is SMF and where to give to see the users logging.
If this is what your reaction is - you should not be doing this work, at least at this moment of your knowledge...fwiw.

PS. My statement is not to challange someone's knowledge but the kind of work you ask for must be done by some system-programmer or RACF-admin...dealing with SMF data is far beyond the scope of an Application Programmer...
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Mar 05, 2010 5:32 pm    Post subject:
Reply with quote

Anuj Dhawan wrote:
nandakumar selvaraj wrote:
I am not familiar with the above you all talking about, Is anybody telle me what is SMF and where to give to see the users logging.
If this is what your reaction is - you should not be doing this work, at least at this moment of your knowledge...fwiw.

PS. My statement is not to challange someone's knowledge but the kind of work you ask for must be done by some system-programmer or RACF-admin...dealing with SMF data is far beyond the scope of an Application Programmer...


Anuj,

i thought the S in SMF meant "Simple". Even I could work with the stuff.
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: Fri Mar 05, 2010 5:41 pm    Post subject:
Reply with quote

As usual, the wheel reinvention society appears to be holding another convention.

The information is almost certainly already available from the capacity and/or performance people. The tracking of TSO ids is usually done as a matter of course, especially if the time is billable.

In 99.9% of cases a simple request to these peole will give the desired information without having a second, or third, or ad infinitum wheel collection.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Fri Mar 05, 2010 5:43 pm    Post subject:
Reply with quote

PeterHolland wrote:
Even I could work with the stuff.
When the letter "I" in the above quote is equivalent to
Quote:
Retired Process Controller
Mainframe Skills: SA390, SAS, Assembler, IMS, TSO, ISPF,Technical Application Specialist, OPC, Netview
I'm left with nothing to say, yes You CAN do it, I know icon_smile.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Mar 05, 2010 5:46 pm    Post subject:
Reply with quote

Anuj Dhawan wrote:
PeterHolland wrote:
Even I could work with the stuff.
When the letter "I" in the above quote is equivalent to
Quote:
Retired Process Controller
Mainframe Skills: SA390, SAS, Assembler, IMS, TSO, ISPF,Technical Application Specialist, OPC, Netview
I'm left with nothing to say, yes You CAN do it, I know icon_smile.gif


Oops, i forgot about my CV.
Thanks a lot for your confidence in me.
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: Fri Mar 05, 2010 6:16 pm    Post subject:
Reply with quote

Anuj Dhawan wrote:
I'm left with nothing to say

BIG GRIN and of course a refrain from comment
Back to top
View user's profile Send private message
VenkataRao G

New User


Joined: 10 Nov 2009
Posts: 3
Location: Bengalore

PostPosted: Sat Mar 06, 2010 2:22 am    Post subject:
Reply with quote

Hi Robert and every one,

Thank you for your suggestions.
If you are logged into the system from IPL to Next IPL, I need your ID login to be recorded only on when you logged in.

Like that I need to generate reports.

Could you please give me JCL, which fulfills my requirement.

Please suggest me.
Your help is appreciated.
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: Sat Mar 06, 2010 2:30 am    Post subject:
Reply with quote

Hello,

Quote:
Could you please give me JCL, which fulfills my requirement.
No, we know nothing about your system. . . As Robert (and i) posted before:
Quote:
Most sites also have tools that summarize and analyze it, so contacting your site support group (as Dick suggested) is, by far, your best bet for getting what you need.


Quote:
Please suggest me.
Suggest you speak with the people in your organization that already have this info.

Quote:
If you are logged into the system from IPL to Next IPL, I need your ID login to be recorded only on when you logged in.
And (for what it is worth), this makes no sense. . . Where might such a "requirement" originate? Knowing only exactly when id's log on could only be used in some bad way. . . IMHO
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Urgent Mainframe Requirments (2-10 yr... Shankar779 Mainframe Jobs 0 Sun Nov 27, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Developer requirement in Ku... capricorn Mainframe Jobs 0 Sun Oct 23, 2016 3:49 pm
No new posts Interface from Mainframe to Confluenc... hblun CLIST & REXX 4 Tue Sep 20, 2016 5:47 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Admin Openings with CTS enikhilk Mainframe Jobs 0 Tue Sep 13, 2016 10:13 am
No new posts Cards mainframe developer requirement... capricorn Mainframe Jobs 0 Sun Sep 11, 2016 9:57 am


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