View previous topic :: View next topic
|
Author |
Message |
shreya19
New User
Joined: 13 Mar 2014 Posts: 34 Location: USA
|
|
|
|
Is there any way to find out the IP address of user's machine who has logged into mainframe? |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
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 |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
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 |
|
|
shreya19
New User
Joined: 13 Mar 2014 Posts: 34 Location: USA
|
|
|
|
Hi,
Can you please help me with how you could get this result?
Thank You!! |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
IPCONFIG ? |
|
Back to top |
|
|
|