Registers the attributes of a network service. Requires SYSNAM (system name) privilege. Format SET NETWORK network-service
1 – Parameter
network-service Specifies the name of a network service.
2 – Qualifiers
2.1 /ADDRESS
/ADDRESS=address[es] Specifies the network address of the local node.
2.2 /CONNECTIONS
/CONNECTIONS= Specifies a command to be executed to display the number of network connections.
2.3 /COUNTERS
/COUNTERS= Specifies a command to be executed to display the number of network counters.
2.4 /DATA
/DATA= Specifies a character string provided by the network service vendor.
2.5 /INTERFACE
/INTERFACE= Specifies the OpenVMS driver for the network service.
2.6 /MANUFACTURER
/MANUFACTURER= Specifies the manufacturer of the network service.
2.7 /NETWORK_TYPE
/NETWORK_TYPE= Specifies the protocol for the network service.
2.8 /NODE
/NODE= Specifies the name of the local node.
2.9 /PPPD_CALLOUT
/PPPD_CALLOUT=image-name Specifies the name of the protected shareable image activated by PPPD. This image contains the routine PPPD$OPEN_CONNECT, which notifies the network service that a new physical transport exists that supports PPP. If the image resides in the SYS$SHARE directory, enter the file name of the image without the suffix (such as, PPPD_CALLOUT instead of PPPD_CALLOUT.EXE); otherwise, enter the system logical that identifies the location of the image.
2.10 /REGISTER
Defines a new network service.
2.11 /REMOVE
Deletes a network service from the database.
2.12 /START
/START= Specifies an image to be executed when you issue the START/NETWORK command for the network service.
2.13 /STATUS
/STATUS= Specifies a command to be executed to display additional status information.
2.14 /STOP
/STOP= Specifies an image to be executed when you issue the STOP/NETWORK command for the network service.
2.15 /UPDATE
Allows you to modify the specified data for the network service.
3 – Examples
1.$ SET NETWORK DECnet - _$ /MANUFACTURER= "VMS Software, Inc." - _$ /NODE="GALENA" - _$ /ADDRESS="19.129" - _$ /NETWORK_TYPE="DNA V" - _$ /INTERFACE="net 0" - _$ /DATA="Router: No" - _$ /STATUS="mcr ncl show node 0 all" - _$ /CONNECTIONS="mcr ncl show node 0 session control port * all"- _$ /COUNTERS="mcr ncl show node 0 session control all counters"- _$ /START="@sys$startup:net$startup" - _$ /STOP="@sys$manager:net$shutdown" This command adds the network service DECnet-Plus (Phase V) to the database, with the specified characteristics. 2.$ SET NETWORK "TCP/IP" /REGISTER - _$ /MANUFACTURER="Hewlett-Packard Company" - _$ /NODE="ipv6.ucx.mars.univers.com" - _$ /ADDRESS="16.20.207.92" - _$ /NETWORK_TYPE="TCP/IP" - _$ /STATUS="TCPIP SHOW SERVICE" - _$ /CONNECTIONS="TCPIP SHOW DEVICE" - _$ /PPPD_CALLOUT="TCPIP$PPPD_CALLOUT" This command creates a new TCP/IP network service, adds it to the database, and enables the PPPD utility by supplying a logical name that identifies the location of the shareable image. 3.$ SET NETWORK DECnet - _$ /MANUFACTURER= "VMS Software, Inc." - _$ /NODE="EMARET" - _$ /ADDRESS="12.378" - _$ /NETWORK_TYPE="DNA IV" - _$ /INTERFACE="net 0" - _$ /STATUS="mcr ncp show exec characteristics" - _$ /CONNECTIONS="mcr ncp show known link" - _$ /COUNTERS="mcr ncp show exec count" - _$ /START="@sys$manager:startnet" - _$ /STOP="mcr ncp set executor state shut" This command adds the network service DECnet (Phase IV) to the database, with the specified characteristics.