76 Communications Server for z/OS V1R7 TCP/IP Implementation, Volume 1 - Base Functions, Connectivity, and Routing
For some of the configuration files, you can tell TCP/IP which files to use by coding DD
statements in JCL procedures, or by setting UNIX environment variables. Again, the
various data sets used by TCP/IP functions and their resolution method are described in
z/OS V1R7.0 CS: IP Configuration Guide, SC31-8775.
TCPIP.DATA
The TCPIP.DATA configuration data set is the anchor configuration data set for the TCP/IP
stack and all TCP/IP servers and clients running on that stack. In z/OS Communication
Server IP, you can define the TCPIP DATA parameters in an z/OS UNIX file system file or in
an MVS data set. The TCPIP.DATA configuration data set is read during initialization of
all
TCP/IP server and client functions. They must all access this data set in order to find the
basic configuration information, such as the name of the TCP/IP address space (keyword
TCPIPJOBNAME), the TCP/IP host name (keyword HOSTNAME), and the data set prefix to
use when searching for other configuration data sets (keyword DATASETPREFIX).
Notes:
The syntax for the parameters in the TCPIP DATA file can be found in z/OS V1R7.0 CS:
IP Configuration Reference, SC31-8776.
A sample TCPIP.DATA configuration file is provided in hlq.SEZAINST(TCPDATA).
The TCPIP.DATA file is also known as one of the Resolver configuration files. In fact, the
name is now more commonly used to refer to this important file in the UNIX System Services
environment because the sockets library contains a component called the Resolver. In the
UNIX environment you use the /etc/resolv.conf file for the same purpose as you use
TCPIP.DATA in an MVS environment.
Testing TCPIP.DATA
HOMETEST is a TSO command that can be used to test your active and current
TCPIP.DATA specifications. The HOMETEST command is meant to be issued only from
TSO; therefore, it uses the native MVS search order when locating configuration data sets
and it uses Resolver for doing name to IP address resolutions.
Example 3-5 TCPIP.DATA with HOMETEST
EZA0619I Running IBM MVS TCP/IP CS V1R7 TCP/IP Configuration Tester
EZA0602I TCP Host Name is: WTSC30E
EZA0605I Using Host Tables to Resolve WTSC30E
EZA0611I The following IP addresses correspond to TCP Host Name: WTSC30E
EZA0612I 10.10.10.210
EZA0614I The following IP addresses are the HOME IP addresses defined in
PROFILE.TCPIP:
EZA0615I 10.10.10.210
EZA0615I 10.10.2.212
EZA0615I 10.10.3.213
EZA0615I 10.10.2.214
EZA0615I 10.10.3.215
EZA0615I 10.10.4.214
EZA0615I 10.10.4.215
EZA0615I 10.10.5.216
EZA0615I 10.10.20.130
EZA0615I 10.10.20.130
EZA0615I 127.0.0.1
EZA0618I All IP addresses for WTSC30E are in the HOME list!