Technical data

DISABLE SERVICE
DISABLE SERVICE
For most services, this command disables the specified service but does not stop
the current process. This allows you to perform an orderly shutdown of the
service, which prevents new connections while allowing current connections to
continue.
To stop and restart the current process:
1. Wait until the process exits, or stop it using the service-specific shutdown
command procedure (TCPIP$service_SHUTDOWN.COM).
2. Restart the service using the service-specific startup command procedure
(TCPIP$service_STARTUP.COM).
Note that, for the NFS server, TELNET, and RLOGIN, the DISABLE SERVICE
command stops the current process.
Related commands: ENABLE SERVICE, SET SERVICE, SHOW SERVICE
Format
DISABLE SERVICE service
[ /ADDRESS=IP_address ]
[ /PORT=n ]
[ /PROCESS=process ]
[ /PROTOCOL=protocol ]
Parameters
service
Required.
Service you want to disable. Specify any service that appears in the SHOW
SERVICE display. To disable all services, use a wildcard.
Qualifiers
/ADDRESS=IP_address
Optional. Default: 0.0.0.0.
Disables only the services for the specified address.
/PORT=n
Optional. Default: All ports.
Disables the service communicating at the specified port.
/PROCESS=process
Optional. Default: All processes.
Disables the service running as the specified process.
/PROTOCOL=protocol
Optional. Default: All protocols.
Disables only the services that use the specified protocol.
Command Descriptions 2–43