MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is there any command to get the IP address of the Maniframe?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
shash_modi
Beginner


Joined: 22 Apr 2008
Posts: 26
Topics: 9
Location: Mumbai

PostPosted: Thu Jul 17, 2008 12:27 am    Post subject: Is there any command to get the IP address of the Maniframe? Reply with quote

Hi,

Is there any command on TSO through which you can get the IP address of the Mainframe machine you are working on?

Thanks and regards,
Shashank
Back to top
View user's profile Send private message
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Thu Jul 17, 2008 12:43 am    Post subject: Reply with quote

shash_modi,

Type TSO NETSTAT HO on the command line and you will get the IP address of your mainframe.
Back to top
View user's profile Send private message Send e-mail
shash_modi
Beginner


Joined: 22 Apr 2008
Posts: 26
Topics: 9
Location: Mumbai

PostPosted: Thu Jul 17, 2008 12:53 am    Post subject: Reply with quote

VKphani,

Thanks it worked. But from the following output I got how I will come to know which is the IP address of my machine.

EZZ2350I MVS TCP/IP NETSTAT CS V1R8 TCPIP Name: TCPIP 05:50:12
EZZ2700I Home address list:
EZZ2701I Address Link Flg
EZZ2702I ------- ---- ---
EZZ2703I 147.149.94.149 LNKVIP3
EZZ2703I 147.149.97.149 LNKVIPA P
EZZ2703I 10.249.131.149 OECCLNK
EZZ2703I 10.249.132.149 OECDLNK
EZZ2703I 192.168.249.149 IUTSAMEH
EZZ2703I 127.0.0.1 LOOPBACK
***
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Jul 17, 2008 3:43 am    Post subject: Reply with quote

I suggest that before anyone enter a TSO command in their session, that the first do TSO HELP <command>.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Thu Jul 17, 2008 6:59 am    Post subject: Reply with quote

shash_modi,

AFAIK, 147.149.94.149 is your IP address. But wait till experts comes.
Back to top
View user's profile Send private message Send e-mail
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Jul 17, 2008 9:12 am    Post subject: Reply with quote

why don't you ask your systems people? without their telling you which IP address to use for whatever task you need the IP address, you could pick the wrong one.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
moyeenkhan
Beginner


Joined: 04 Dec 2002
Posts: 64
Topics: 21

PostPosted: Thu Jul 17, 2008 9:55 am    Post subject: Reply with quote

You can look at any FTP job too
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Jul 17, 2008 11:46 am    Post subject: Reply with quote

shash_modi,

try this simple rexx

Code:

/* REXX */                                                 
PARSE VALUE SOCKET('INITIALIZE', 'TEST') WITH RC . . SERVER
PARSE VALUE SOCKET('GETHOSTID') WITH RC IP                 
SAY IP                                                     
EXIT       
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Thu Jul 17, 2008 3:18 pm    Post subject: Reply with quote

I don't think it's prudent to be broadcasting the actual IP address of a company's mainframe on a public bulletin board.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
acevedo
Beginner


Joined: 03 Dec 2002
Posts: 127
Topics: 0
Location: Europe

PostPosted: Fri Jul 18, 2008 1:04 am    Post subject: Reply with quote

yeap, agree with Terry.
Back to top
View user's profile Send private message
shash_modi
Beginner


Joined: 22 Apr 2008
Posts: 26
Topics: 9
Location: Mumbai

PostPosted: Mon Jul 21, 2008 4:40 am    Post subject: Reply with quote

Terry,

I will take care of that from next time.

All,
Thanks for all the information provided.

Thanks and regards,
Shash_modi
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group