One line of the
hlq.HOSTS.LOCAL data
set is used for each distinct host and ends with four colons (::::).
The maximum length of the line is 512 characters. Each host can have
multiple IP addresses and multiple names. The line for each host has
the following three essential fields, which are separated by colons:
- The keyword HOST.
- A list of IP addresses for that host, which are separated by commas.
You can specify a maximum of six IP addresses per HOST entry.
- A list of fully qualified names for that host, which
are separated by commas. The first name is the official host name,
or CNAME (canonical name), and any additional host names after the
CNAME are alias names. You can specify a maximum of 20 host names.
Only the first six host names are used in the hlq.HOSTS.ADDRINFO
data set. All 20 host names are used in the hlq.HOSTS.SITEINFO
data set.
For example, if you have two local hosts, LOCAL1 (IP addresses
192.6.77.4 and 192.8.4.1) and LOCAL2 (with an alias LOCALB and IP
address 192.6.77.2), append the following lines to the
hlq.HOSTS.LOCAL
data set:
HOST : 192.6.77.4, 192.8.4.1 : LOCAL1 ::::
HOST : 192.6.77.2 : LOCAL2, LOCALB ::::
Notes: - The maximum length for a host that is allowed in the HOST tables
is 24 characters.
- If the HOST entry has more than the maximum of 6 IP addresses
for one host name or more than 20 host names for a single IP address,
the MAKESITE command completes successfully with no error message
issued.