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

IP address of user's machine


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

New User


Joined: 13 Mar 2014
Posts: 28
Location: USA

PostPosted: Wed Mar 16, 2016 3:24 pm
Reply with quote

Is there any way to find out the IP address of user's machine who has logged into mainframe?
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 869
Location: The Universe

PostPosted: Wed Mar 16, 2016 4:31 pm
Reply with quote

Nothing easy.

An operator command -

D NET,TSOUSER,ID=userid

Last year I tried writing code to link SMF 118 record data with with the VTAM terminal ID in SMF 30 records. This effort failed, in part because I couldn't figure out what the report should look like. I still think my idea has merit, but I can't quite make it work. It's difficult because a single VTAM LU can be connected to several different IP addresses, though only one IP address at a time. The reverse is true; one IP address can be connected to several VTAM LUs. As I'm writing this post, I have 2 TSO sessions running. Each session has a unique LU, to one IP address.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 869
Location: The Universe

PostPosted: Sun Mar 20, 2016 9:48 pm
Reply with quote

After I put in my post I decided to try again. I simplified my requirement.

I spent a day battling a loop, but I got it connecting a VTAM LU to a TSO session most of the time, which was my target. I got this -

XXXXXX 03/19 2:05:29->03/19 5:33:44 3:28 TCPA0817 123.456.789.123

The userid, XXXXXX, and IP address are faked. The session times, elapsed time for the session (3 hours, 28 minutes), and LU name are "real."
Back to top
View user's profile Send private message
shreya19

New User


Joined: 13 Mar 2014
Posts: 28
Location: USA

PostPosted: Mon Mar 21, 2016 3:19 pm
Reply with quote

Hi,

Can you please help me with how you could get this result?

Thank You!!
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 869
Location: The Universe

PostPosted: Mon Mar 21, 2016 7:39 pm
Reply with quote

It matches TSO user logoff data in SMF type 30 sub type 5 records with IP data in SMF type 118 records. Roughly 1000 new Assembler lines + another 1000 lines in library modules.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Tue Mar 22, 2016 11:51 am
Reply with quote

IPCONFIG ?
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 Revoke on DB2 to remove an user DB2 4
This topic is locked: you cannot edit posts or make replies. Is there a way to restrict user login... All Other Mainframe Topics 11
No new posts Copying Db2 BSDS and logs to another ... JCL & VSAM 11
No new posts DITTO/ESA R3 User's Guide and Referen... IBM Tools 2
No new posts conversational program not reading t... IMS DB/DC 2
Search our Forums:

Back to Top