Chapter Contents |
Previous |
Next |
Network Administration |
Under the OS/390
and CMS operating systems, the data set that contains configuration information
usually has a name that is derived from the equivalent UNIX filename. For
example, the OS/390 data set name ETC.HOSTS is derived from the UNIX filename
/etc/hosts
.
DSN:
for a data set
name, or
HFS:
for a hierarchical
file system (HFS) name. If the name does not begin with a prefix, it is interpreted
according to the SAS/C Library defaults, which vary from program to program.
For example, the default prefix for OS/390 is DDN:, and for CMS it is CMS:.
Use the DSN: prefix if you are supplying the name in DSName form.
TCPIP_PREFIX
environment
variable is not TCPIP. See Specifying TCPIP_PREFIX for OS/390 for a discussion of
TCPIP_PREFIX
.
TCPIP_PREFIX
value.
Finding the Data Set |
The socket library uses the following methods to look
for each of the configuration data sets:
The socket library looks for the following data set
names while
searching for the OS/390 or CMS data set that is equivalent to
/etc/protocols
:
ETC_PROTOCOLS
environment variable, if
defined
//hfs:/etc/protocols
OS/390 (integrated sockets only)
TCPIP_PREFIX
is not
blank.
The socket library looks for the following data set
names while
searching for the OS/390 or CMS data set that is equivalent to
/etc/services
:
ETC_SERVICES
environment variable, if
defined
//hfs:/etc/services
OS/390 (integrated sockets only)
TCPIP_PREFIX
is not
blank.
The socket library looks for the following data set names
while
searching for the OS/390 or CMS data set that is equivalent to
/etc/hosts
:
ETC_HOSTS
environment variable, if
defined
//hfs:/etc/hosts
OS/390 (integrated sockets only)
TCPIP_PREFIX
is not
blank.
The socket library looks for the following data set
names while
searching for the OS/390 or CMS data set that is equivalent to
/etc/networks
:
ETC_NETWORKS
environment variable, if
defined
//hfs:/etc/networks
OS/390 (integrated sockets only)
TCPIP_PREFIX
is not
blank.
The socket library looks for the following data
set names
while searching for the OS/390 or CMS data set that is equivalent to
/etc/resolv.conf
:
ETC_RESOLV_CONF
environment variable, if
defined
//hfs:/etc/resolv.conf
OS/390 (integrated sockets only)
TCPIP_PREFIX
is not blank.
The socket library looks for the following data set names while
searching for the OS/390 or CMS data set that is equivalent to
/etc/rpc
:
ETC_RPC
environment variable, if
defined.
//hfs:/etc/rpc
OS/390 (integrated sockets only)
TCPIP_PREFIX
is not
blank.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.