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

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Mar 04, 2010 10:10 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 04, 2010 10:14 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 04, 2010 10:16 pm
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

Moderator Emeritus


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

PostPosted: Thu Mar 04, 2010 10:20 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 04, 2010 10:47 pm
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
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

Moderator Emeritus


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

PostPosted: Fri Mar 05, 2010 6:30 am
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Mar 05, 2010 7:34 am
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
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: 8797
Location: Welsh Wales

PostPosted: Fri Mar 05, 2010 12:35 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Mar 05, 2010 1:13 pm
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

Superior Member


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

PostPosted: Fri Mar 05, 2010 5:22 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Mar 05, 2010 5:32 pm
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: 8797
Location: Welsh Wales

PostPosted: Fri Mar 05, 2010 5:41 pm
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

Superior Member


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

PostPosted: Fri Mar 05, 2010 5:43 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Mar 05, 2010 5:46 pm
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: 8797
Location: Welsh Wales

PostPosted: Fri Mar 05, 2010 6:16 pm
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
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

Moderator Emeritus


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

PostPosted: Sat Mar 06, 2010 2:30 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts IBM OnDemand Folders displaying to al... IBM Tools 6
No new posts VAGen Users IBM Tools 0
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
No new posts How to Reformat a file using File Man... All Other Mainframe Topics 14
Search our Forums:

Back to Top