TCPIP$UCP_HELP.HLB  —  DISABLE

1  –  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 ]

1.1  –  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. To specify a lowercase or mixed-case service name,
    enclose it in quotation marks.

1.2  –  Qualifiers

1.2.1    /ADDRESS

       /ADDRESS=IP_address

    Optional. Default: 0.0.0.0.

    Disables only the services for the specified address.

1.2.2    /PORT

       /PORT=n

    Optional. Default: All ports.

    Disables the service communicating at the specified port.

1.2.3    /PROCESS

       /PROCESS=process

    Optional. Default: All processes.

    Disables the service running as the specified process.

1.2.4    /PROTOCOL

       /PROTOCOL=protocol

    Optional. Default: All protocols.

    Disables only the services that use the specified protocol.

1.3  –  Examples

    1.TCPIP> DISABLE SERVICE TELNET

      Disables TELNET.

    2.TCPIP> DISABLE SERVICE RLOGIN /ADDRESS=130.180.4.7

      Disables the remote login process that is bound to address
      130.180.4.7.
Close Help