Troubleshooting
Problem
The Merge TCP/IP Host Table (MRGTCPHT) command is used to merge host names, Internet addresses, and text comment entries from a physical file member into the local host table.
Resolving The Problem
The Merge TCP/IP Host Table (MRGTCPHT) command is used to merge host names, Internet addresses,
and text comment entries from a physical file member into the local host table. A replace option is also
provided that allows the entire local host table to be replaced by the host table entries in a user-specified
physical file member.
A file format option is provided that allows *iSeries, *AIX, or *NIC file format to be merged with the local host
table. The local host table is located in member QUSRSYS/QATOCHOST.HOSTS and is created as a
physical file.
A maximum of four host names per IP address is allowed when host tables are merged. For example, if the
local host table already has three host names and the physical file member to be merged has two additional
host names, only the first host name in the physical file is merged into the final host table. Host names that
exist in the local host table and the physical file member being merged are not duplicated.
Note: The original copy of the local host table is not saved by the Merge TCP/IP Host Table (MRGTCPHT)
command. To save the original host table and before issuing the MRGTCPHT command, create a copy of
the file QUSRSYS/QATOCHOST.HOSTS using the Copy File (CPYF) command.
The CFGTCP, Option 11, or the MRGTCPHT command can be used. Replace host table (REPLACE) *YES
will replace the existing host table.
Restriction: You must have input/output system configuration (*IOSYSCFG).
Historical Number
484572778
Was this topic helpful?
Document Information
More support for:
IBM i
Software version:
Version Independent
Operating system(s):
IBM i
Document number:
635711
Modified date:
11 November 2019
UID
nas8N1013721