Creates a hosts database file with: o One entry for LOCALHOST o LOCALHOST's alias, localhost o LOCALHOST's address, 127.0.0.1 The hosts database file name and location are specified by the logical name TCPIP$HOST. If the logical name is not defined, the database file name will be TCPIP$HOST.DAT in your current directory. Related commands: SET HOST, SHOW HOST, CONVERT/VMS HOST Format CREATE HOST
1 – Restrictions
Requires: o Write access to the directory with the hosts database. o Read and write access to the hosts database. CAUTION Do not execute this command unless you intend to reconfigure your entire cluster.
2 – Examples
1.TCPIP> CREATE HOST Creates a hosts database with one entry for LOCALHOST.