Technical data

SET SERVICE
SET SERVICE
Defines a new entry or modifies an existing entry in the services database.
The /FILE, /PORT, /PROCESS_NAME, and /USER_NAME qualifiers are required
when defining a new entry and optional when modifying an existing one.
Related command: SHOW SERVICE
Format
SET [NO]SERVICE service
{ /FILE=startup_file
/PORT=n
/PROCESS_NAME=process
/USER_NAME=vms_user_account }
[ /ACCEPT=options ]
[ /ADDRESS=IP_address ]
[ /FLAGS=options ]
[ /LIMIT=n ]
[ /LOG_OPTIONS=options ]
[ /PROTOCOL=protocol=options ]
[ /REJECT=options ]
[ /RPC=values ]
[ /SEPARATOR=option ]
[ /SOCKET_OPTIONS=options ]
Restrictions
You cannot modify the following fields in an existing entry:
service
/ADDRESS
/PORT
/PROCESS_NAME
/PROTOCOL (except for the optional settings)
To make changes to these fields, use SET NOSERVICE to delete the entry and
then re-create the entry.
Note
There is no RCP service. RCP uses the RSH server process.
HP strongly suggests that, for the services provided by TCP/IP Services, you do
not use this command to reset the following:
The required qualifiers
The /FLAGS qualifier, except for the APPLICATION_PROXY and
CASE_INSENSITIVE options
Using SET NOSERVICE without either a specified service or specified qualifiers
deletes all entries for all services.
Command Descriptions 2–143