IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to get the system IP


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
henry888

New User


Joined: 21 Sep 2009
Posts: 51
Location: china

PostPosted: Tue Aug 10, 2010 3:36 pm
Reply with quote

Hello,

the connection host name is like XXXXXXX.XX.XXX.com,and after connected,there are lots of LPARs for selection, the LPARs may be used for different business use like develop,test,product...

and I want to know the IP of the specified LPAR named TSOB9,how can I get it?

Any suggestion?

Thanks...
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Aug 10, 2010 3:56 pm
Reply with quote

1. Contact your site support group and ask them.
2. Bring up a command prompt on your PC and enter ping TSOB9
3. IIRC, entering netstat conn from a TSO READY prompt (or ISPF option 6) -- after signing onto TSOB9 -- will give you the listener IP address -- but I'm not sure about that since I'm not on a mainframe right now.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Aug 10, 2010 5:25 pm
Reply with quote

After signing onto my mainframe, NETSTAT CONN doesn't directly give you the IP address of the box -- but some of the connections have it embedded in the output of the command. Almost all the common listeners (FTP, SMTP, etc) use 0.0.0.0 to indicate they listen to their port no matter what IP address but telnet connections have the IP address for both ends of the connection listed.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Aug 10, 2010 5:44 pm
Reply with quote

Don't know if this will help any ....

I browsed the output of the TCPIP task, DDNAME DFGPRINT, and the first line states:

EZZ0162I HOST NAME FOR TCPIP1 IS hostname

from there I just pinged hostname, and got the actual address back.
Back to top
View user's profile Send private message
henry888

New User


Joined: 21 Sep 2009
Posts: 51
Location: china

PostPosted: Wed Aug 11, 2010 10:43 am
Reply with quote

Hi Robert & superk,

Thanks for your useful information...

As superk mentioned above when you know the hostname you can ping by this name and get the IP address.

Another question is how I can get the hostname for each LPAR?
I remember that some members in system library contains such information,but I don't know which ones...Could someone guides?

it contains different servers port...
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Aug 11, 2010 11:10 am
Reply with quote

Quote:

I remember that some members in system library contains such information,but I don't know which ones...Could someone guides?


That is site depending. Ask your support.
Back to top
View user's profile Send private message
henry888

New User


Joined: 21 Sep 2009
Posts: 51
Location: china

PostPosted: Wed Aug 11, 2010 11:14 am
Reply with quote

PeterHolland wrote:
Quote:

I remember that some members in system library contains such information,but I don't know which ones...Could someone guides?


That is site depending. Ask your support.


But sometimes really don't know who is the supporter for such thing...
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Aug 11, 2010 11:17 am
Reply with quote

Well i guess there will be a tech support division, they will know.

Or like superk stated, browse the TCP/IP task output, in this case for
librarynames.
Back to top
View user's profile Send private message
henry888

New User


Joined: 21 Sep 2009
Posts: 51
Location: china

PostPosted: Wed Aug 11, 2010 11:24 am
Reply with quote

except supporter,any other method for finding the TCP/IP and other services port members in system library?
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Wed Aug 11, 2010 1:12 pm
Reply with quote

Normally in the started task JCL for TCP there is a DD card for PROFILE.
Look in this dataset and you should find the Port definitions
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
Search our Forums:

Back to Top