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: 20
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 User


Joined: 30 Nov 2013
Posts: 460
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 User


Joined: 30 Nov 2013
Posts: 460
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: 20
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 User


Joined: 30 Nov 2013
Posts: 460
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: 2422
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 SORT - E15 and E35 using same user ex... Abhi Nature DFSORT/ICETOOL 12 Mon Oct 03, 2016 4:33 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm
No new posts execute APP if they are not ADDRESS T... italo_pm CLIST & REXX 3 Fri Aug 12, 2016 2:15 am
This topic is locked: you cannot edit posts or make replies. Get and display content of an address... lind sh CICS 1 Mon Aug 08, 2016 9:18 am
No new posts Data set is allocated to another job ... Seppe CLIST & REXX 2 Wed Aug 03, 2016 4:31 pm


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