Resolving file names, Nonstop kernel conventions – HP Integrity NonStop H-Series User Manual
Page 25
![background image](/manuals/397061/25/background.png)
to support local definitions of IPv4 and IPv6 addresses. (For DUAL mode, you can either use HOSTS
for IPv4 addresses and IPNODES for IPv6 addresses, or you can put your IPv4 addresses in
IPNODES.) Use the ADD DEFINE command of TACL to set the TCPIP^NODE^FILE environment
variable.
For more information about the IPNODES file, see the TCP/IPv6 Configuration and Management
Manual or Cluster I/O Protocols (CIP) Configuration and Management Manual.
Resolving File Names
To resolve a TCP/IP file name, use the DEFINE command. The TCP/IP software accesses these
names, which it uses to determine the environment in which a program is running.
The following DEFINE names affect the operation of TCP/IP programs:
Specifies the name of the HOSTS-type file to be used to
resolve names
=TCPIP^HOST^FILE
Specifies the network addresses and names for
getnetbyaddr
and getnetbyname functions
=TCPIP^NETWORK^FILE
Specifies protocol names and port numbers for
getprotobyname
and getprotobynumber functions
=TCPIP^PROTOCOL^FILE
Specifies the name of the resolver configuration file to be
used to get name server information, overriding the default
name ($SYSTEM.ZTCPIP.RESCONF)
=TCPIP^RESOLVER^NAME
Specifies service by port number and name for
getservbyname
and getservbyport functions
=TCPIP^SERVICE^FILE
Specifies the name of the TCP/IP process, overriding the
default name ($ZTC0). Users of the TFTP server should
=TCPIP^PROCESS^NAME
specify the TCP/IP process by using a TACL PARAM
command.
You should ask your system manager if you need to resolve any of these names to run the TCP/IP
applications on your system.
For a DEFINE name to affect a running program, the file name must be resolved prior to the
execution of the program. When you resolve a file name during an interactive session at a terminal,
the specified value stays in effect until you delete it using the DELETE DEFINE command, reset it
with the RESET DEFINE command, or log off from the session. You can use the INFO DEFINE
command to list the values that are currently set.
See the TACL Reference Manual for a detailed description of the various DEFINE commands (ADD
DEFINE, INFO DEFINE, RESET DEFINE, and so forth) and their syntax.
See the TCP/IP Programming Manual for information about domain name resolution, resolving
names with a name server, and using the DEFINE command.
For example, to resolve the =TCPIP^PROCESS^NAME name on a system with a TCP/IP process
named $ZTC8, you would enter the following command before running a client program:
TACL 4> ADD DEFINE =TCPIP^PROCESS^NAME, FILE $ZTC8
NonStop Kernel Conventions
When transferring files to or from a NonStop Kernel system, you need to know first how to log on,
and second, how the system stores disk files and how to specify file names. For complete descriptions
of NonStop Kernel conventions, see the Guardian User's Guide.
NonStop Kernel Conventions
25