Populates the existing hosts database with entries from a UNIX
/etc/hosts file.
The name and location of the hosts database is specified by the
logical name TCPIP$HOST. If this name is not defined, the command
looks for TCPIP$HOST.DAT in your current directory.
Related commands: CREATE HOST, SET HOST, SHOW HOST
Format
CONVERT/VMS HOST [ source_file ]
[ /LOG ]
[ /UPCASE ]
1 – Restrictions
Requires:
o Read and write access to the hosts database.
o Read access to the UNIX formatted hosts file.
o Exclusive use of the hosts database.
2 – Parameters
source_file
Optional. Default: ETC.HOSTS in your current directory.
UNIX formatted file to be converted to the TCPIP$HOST database
file.
3 – Qualifiers
3.1 /LOG
Optional. Default: No logging.
Displays records as they are being processed.
3.2 /UPCASE
Optional. Default: Not created.
Creates an uppercase alias name for each host.
4 – Examples
1.TCPIP> CONVERT/VMS HOST
Converts the UNIX formatted hosts database file to the
file TCPIP$HOST.DAT. The name of the UNIX formatted file is
ETC.HOSTS in your current directory.
2.TCPIP> CONVERT/VMS HOST HOSTS.TXT
Converts the UNIX formatted hosts database file HOSTS.TXT to
the file TCPIP$HOST.DAT.