Technical data

SET SERVICE
/SEPARATOR=option=character
Optional. Default: 0 (null).
Character that separates the following fields in received packets:
PORT=character
USER_NAME=character
PASSWORD=character
COMMAND=character
/SOCKET_OPTIONS=(options)
Optional.
The following socket options are available.
Option Description Default
BROADCAST
NOBROADCAST
Sockets are UDP
broadcast.
Sockets are not UDP
broadcast.
Null character (hexadecimal 00)
KEEPALIVE
NOKEEPALIVE
Sockets are TCP
keepalive.
Sockets are not TCP
keepalive.
Null character (hexadecimal 00)
RECEIVE Receive socket quota. Null character (hexadecimal 00)
SEND Send socket quota. Null character (hexadecimal 00)
/USER_NAME=vms_user_account
Required if defining a new service entry; optional if modifying an existing service.
OpenVMS account information for users working on client systems. Required for
a user to access the service.
The user must also be defined in the system user authorization file
(SYSUAF.DAT).
Examples
1.
TCPIP> SET SERVICE TOE /USER_NAME=LITTLE_PIGGY -
_TCPIP> /PROCESS_NAME=TOEd /PORT=1050 /PROTOCOL=UDP -
_TCPIP> /FILE=SYS$COMMON:[SYSMGR]TOE_STARTUP.COM
Modifies the service TOE to implement UDP on port 1050. This service has
the OpenVMS process context of user LITTLE_PIGGY.
After you issue a SET SERVICE TOE command, the auxiliary server executes
TOE_STARTUP.COM when a request arrives for service TOE.
2.
TCPIP> SET SERVICE LPD -
_TCPIP> /REJECT=NETWORK=(11.30.0.0:255.255.0.0,11.40.0.0)
Sets the LPD service to be inaccessible to the two specified networks.
3.
TCPIP> SET SERVICE RSH /FLAGS=(PROXY,CASE_INSENSITIVE)
Sets the proxy and case-sensitivity flags for the RSH service.
Command Descriptions 2–149