Reads the hosts database and converts the information to an ASCII
file formatted for use as a hosts file on a UNIX system.
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/UNIX HOST [ destination_file ]
[ /BYADDRESS ]
[ /LOG ]
1 – Restrictions
Requires:
o Read access to the hosts database.
o Write access to []ETC.HOSTS.
2 – Parameters
destination_file
Optional. Default: []ETC.HOSTS (UNIX formatted)
Allows you to specify the name for the new file.
3 – Qualifiers
3.1 /BYADDRESS
Optional. Default: Sorts by name.
Sorts entries in the converted file by IP address.
3.2 /LOG
Optional. Default: No display.
Interactively displays the processing.
4 – Examples
1.TCPIP> CONVERT/UNIX HOST
Converts the hosts database TCPIP$HOST to an ASCII file that
is formatted for use as a hosts file on a UNIX system. The
resulting file is named (default) ETC.HOSTS in the current
directory and can be used on a UNIX system as the file
/etc/hosts.