ODBC Server Reference Manual

Managing Customized Catalogs
HP NonStop ODBC Server Reference Manual429151-002
7-57
Network Services (NET_SERVICE) Statements
Example
ADD NET_SERVICE $svc4 NET_PROTOCOL TCP/IP NET_NAME odbctst1 &
IOP_NAME \netsys.$lam1
MODIFY NET_SERVICE
The MODIFY NET_SERVICE statement modifies one or more of the attributes of an
existing system network service for a specified SCS process in the ZNSNET table. To
execute MODIFY NET_SERVICE, you must be authorized to modify the system
catalog.
The MODIFY NET_SERVICE statement generates a warning if you specify TCP/IP for
NET_PROTOCOL and net-name is not defined in your TCP/IP SERVICES file.
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:
NetBIOS Protocol
Use the following syntax for the NetBIOS protocol:
For a description of the parameters for the MODIFY NET_SERVICE statement, refer to
the description of the ADD NET_SERVICE statement.
MODIFY 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 ]
MODIFY NET_SERVICE scs-processname
[ NET_PROTOCOL NETBIOS ]
[ NET_NAME net-name ]
[ IOP_NAME iop-name ]
[ NET_QUALIFIER "net-qualifier-name" ]
[ MLAN_DOMAIN sub-device-name ]
[ MLAN_ADAPTOR mlan-adaptor
[ MLAN_GATEWAY mlan-gateway ]
[ UPDATE_SYSTEM_CONFIG ]