View previous topic :: View next topic |
Author |
Message |
shash_modi Beginner

Joined: 22 Apr 2008 Posts: 26 Topics: 9 Location: Mumbai
|
Posted: Thu Jul 17, 2008 12:27 am Post subject: Is there any command to get the IP address of the Maniframe? |
|
|
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 |
|
 |
vkphani Intermediate

Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
Posted: Thu Jul 17, 2008 12:43 am Post subject: |
|
|
shash_modi,
Type TSO NETSTAT HO on the command line and you will get the IP address of your mainframe. |
|
Back to top |
|
 |
shash_modi Beginner

Joined: 22 Apr 2008 Posts: 26 Topics: 9 Location: Mumbai
|
Posted: Thu Jul 17, 2008 12:53 am Post subject: |
|
|
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 |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu Jul 17, 2008 3:43 am Post subject: |
|
|
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 |
|
 |
vkphani Intermediate

Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
Posted: Thu Jul 17, 2008 6:59 am Post subject: |
|
|
shash_modi,
AFAIK, 147.149.94.149 is your IP address. But wait till experts comes. |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu Jul 17, 2008 9:12 am Post subject: |
|
|
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 |
|
 |
moyeenkhan Beginner
Joined: 04 Dec 2002 Posts: 64 Topics: 21
|
Posted: Thu Jul 17, 2008 9:55 am Post subject: |
|
|
You can look at any FTP job too |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Jul 17, 2008 11:46 am Post subject: |
|
|
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 |
|
 |
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Thu Jul 17, 2008 3:18 pm Post subject: |
|
|
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 |
|
 |
acevedo Beginner

Joined: 03 Dec 2002 Posts: 127 Topics: 0 Location: Europe
|
Posted: Fri Jul 18, 2008 1:04 am Post subject: |
|
|
yeap, agree with Terry. |
|
Back to top |
|
 |
shash_modi Beginner

Joined: 22 Apr 2008 Posts: 26 Topics: 9 Location: Mumbai
|
Posted: Mon Jul 21, 2008 4:40 am Post subject: |
|
|
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 |
|
 |
|
|