Verifying IP Address and Host Name
Confirm that the correct IP address and host name are defined in the TCPIP.HOSTS.LOCAL sequential dataset. The following is a sample hosts file:
HOSTS.LOCAL
COPYRIGHT = NONE
The format of this file is documented in RFC 952, "DoD Internet Host Table Specification."
The format for entries is as follows:
NET:ADDR:NETNAME:
GATEres:ADDR,ALT-ADDR:HOSTNAME:CPUTYPE:;OPSYS PROTOCOLS:
HOST:ADDR,ALT-ADDR:HOSTNAME,NICKNAME:CPUTYPE OPSYS:PROTOCO
where
ADDR,ALT-ADDR is the IP address in decimal, e.g., 012.345.678.901
HOSTNAME,NICKNAME is the fully qualified host name and any nicknames
CPUTYPE is the machine type (PDP-11/70, VAX-11/780, IBM-3090, C/30, etc.)
OPSYS is the operating system (UNIX, TOPS20, TENES, VM/SP, etc.)
PROTOCOLS is the transport/service (TCP/TELNET, TCP/FTP, etc.)
: (colon) is a field delimiter
:: (2 colons) is a null field
Here is an example of the entries:
HOST:012.345.678.901:CONNXDB2.CONNX.DB2390.COM, CONNXDB2
Note:
CPUTYPE, OPSYS, and PROTOCOLS are optional fields.