Networking on z/OS
|
Previous topic |
Next topic |
Contents |
Glossary |
Contact z/OS |
PDF
The search order for resolver configuration information Networking on z/OS |
|
|
GLOBALTCPIPDATA is used for both z/OS UNIX and MVS IP applications. Then, z/OS UNIX applications look for RESOLVER_CONFIG followed by /etc/resolver.conf. At this point, the remaining locations where an application might search for resolver configuration information is the same for both z/OS UNIX and MVS IP applications. Here they are in the order in which they are searched for:
Only the first file located is used. For example, if the first file found is SYS1.TCPPARMS(TCPDATA), then that is the only file used, even if DEFAULTTCPIPDATA and TCPIP.TCPIP.DATA exist. Not all statements within resolver configuration files are treated equally. Some statements not globally defined (in GLOBALTCPIPDAT) can be located dynamically in files later in the search order. For example, if TCPIPJOBNAME is not located in the global file, it can be read in from the first of the subsequent files in the search order. This makes sense because if more than one TCP/IP task is running, defining TCPIPJOBNAME in GLOBALTCPIPDATA would only allow one TCP/IP task to ever be accessed. By using something like RESOLVER_CONFIG or SYSTCPD, different job names could be specified for different environments or applications. But not all of the statements get this second chance. Some statements, if not defined explicitly in a global file, are forced into default values. For example, the NAMESERVER statement, if not present in the GLOBALTCPIPDATA, defaults to a blank, disabling all name server function. When configuration time comes, each statement that is needed for an application should be reviewed to determine where it would best be located. |
Copyright IBM Corporation 1990, 2010 |