Technical data

CONVERT/UNIX NETWORK
CONVERT/UNIX NETWORK
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 ]
Restrictions
Requires:
Read access to the hosts database.
Write access to the file [ ]ETC.NETWORKS.
Parameters
destination_file
Optional. Default: [ ]ETC.NETWORKS (UNIX formatted).
Specifies the name of the new UNIX formatted file.
Qualifiers
/BYADDRESS
Optional. Default: Sorts by name.
Sorts the converted file by network number.
/LOG
Optional. Default: No display.
Displays messages generated during processing.
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.
Command Descriptions 2–19