Technical data

CONVERT/VMS HOST
CONVERT/VMS HOST
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 ]
Restrictions
Requires:
Read and write access to the hosts database.
Read access to the UNIX formatted hosts file.
Exclusive use of the hosts database.
Parameters
source_file
Optional. Default: ETC.HOSTS in your current directory.
UNIX formatted file to be converted to the TCPIP$HOST database file.
Qualifiers
/LOG
Optional. Default: No logging.
Displays records as they are being processed.
/UPCASE
Optional. Default: Not created.
Creates an uppercase alias name for each host.
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.
Command Descriptions 2–21