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
 

 

IP address of user's machine

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
shreya19

New User


Joined: 13 Mar 2014
Posts: 25
Location: USA

PostPosted: Wed Mar 16, 2016 3:24 pm    Post subject: IP address of user's machine
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: 525
Location: The Universe

PostPosted: Wed Mar 16, 2016 4:31 pm    Post subject:
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: 525
Location: The Universe

PostPosted: Sun Mar 20, 2016 9:48 pm    Post subject:
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: 25
Location: USA

PostPosted: Mon Mar 21, 2016 3:19 pm    Post subject:
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: 525
Location: The Universe

PostPosted: Mon Mar 21, 2016 7:39 pm    Post subject:
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: 2433
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 22, 2016 11:51 am    Post subject:
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    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 IP Address of workstation martin9 CICS 3 Fri Jun 23, 2017 7:39 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
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


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