ODBC Server Reference Manual
Managing Customized Catalogs
HP NonStop ODBC Server Reference Manual—429151-002
7-53
Network Services (NET_SERVICE) Statements
Network Services (NET_SERVICE) Statements
Use the following statements to configure and manage network services:
•
ADD NET_SERVICE
•
MODIFY NET_SERVICE
•
REMOVE NET_SERVICE
ADD NET_SERVICE
The ADD NET_SERVICE statement creates a new network service entity for a
specified SCS process. To execute ADD NET_SERVICE, you must be a privileged
user.
The ADD NET_SERVICE statement performs these functions:
•
Creates a new entry for the network service in the ZNSNET table.
•
If no value is specified for an attribute, uses a default value.
•
Generates a warning if you specify TCP-IP for net-protocol-name, and
net-name is not defined in your SERVICES file.
•
Generates an error if you are not authorized to modify the system catalog.
The syntax for the ADD NET_SERVICE statement has two formats:
•
TCP/IP and SPX/IPX protocols
•
NETBIOS protocol
TCP/IP and SPX/IPX Protocols
Use the following syntax for the TCP/IP or SPX/IPX protocol:
scs-processname
is the name of the SCS process for which you want to create a network service
entity.
ADD NET_SERVICE scs-processname
NET_PROTOCOL { TCP/IP | SPX/IPX }
NET_NAME net-name
IOP_NAME iop-name
[ SERVICES_FILENAME services-filename ]
[ SO_KEEPALIVE { 0 | 1 } ]
[ SO_OOBINLINE { 0 | 1 } ]
[ SO_LINGER { 0 | 1 } ]
[ SO_REUSEADDR { 0 | 1 } ]
[ UPDATE_SYSTEM_CONFIG ]