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
 

 

How to get the system IP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: How to get the system IP
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: 7931
Location: Bellevue, IA

PostPosted: Tue Aug 10, 2010 3:56 pm    Post subject:
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: 7931
Location: Bellevue, IA

PostPosted: Tue Aug 10, 2010 5:25 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Aug 10, 2010 5:44 pm    Post subject: Reply to: How to get the system IP
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    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Aug 11, 2010 11:10 am    Post subject:
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    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Aug 11, 2010 11:17 am    Post subject:
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    Post subject:
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: 258

PostPosted: Wed Aug 11, 2010 1:12 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts Get system time in micro second or cl... lind sh CICS 11 Mon Sep 05, 2016 11:14 pm
No new posts Add system date inside of a PS file a... pramitdas DFSORT/ICETOOL 5 Sun Aug 28, 2016 12:06 am
No new posts System availability in CICS Robert Sample CICS 10 Sat Jun 04, 2016 4:35 pm


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