Converts the networks database to an ASCII file formatted for use on a UNIX system. The name and location of the networks database is specified by the logical name TCPIP$NETWORK. If this name is not defined, the command looks for TCPIP$NETWORK.DAT in your current directory. Related commands: CREATE NETWORK, SET NETWORK, SHOW NETWORK Format CONVERT/UNIX NETWORK [ destination_file ] [ /BYADDRESS ] [ /LOG ]
1 – Restrictions
Requires: o Read access to the hosts database. o Write access to the file []ETC.NETWORKS.
2 – Parameters
destination_file Optional. Default: []ETC.NETWORKS (UNIX formatted). Specifies the name of the new UNIX formatted file.
3 – Qualifiers
3.1 /BYADDRESS
Optional. Default: Sorts by name. Sorts the converted file by network number.
3.2 /LOG
Optional. Default: No display. Displays messages generated during processing.
4 – Examples
1.TCPIP> CONVERT/UNIX NETWORK /LOG Converts the networks database (TCPIP$NETWORK) to the ASCII file []ETC.NETWORKS. This resulting file can be used as a networks database file /etc/networks on a UNIX system. The /LOG qualifier displays each record as it is converted. 2.TCPIP> CONVERT/UNIX NETWORK NETWORKS.TXT Converts the networks database (TCPIP$NETWORK) to the ASCII file []NETWORKS.TXT. The resulting file may be used as the networks database file /etc/networks on a UNIX system.