4.7.6.2 Stopping a Remote Service

To stop a remote service, use the STOP SERVICE command with the LMID and NAME parameters. In this case, the NAME parameter only specifies the local name , rather than the fully qualified ( local name, remote name ) syntax. Use the IMMED=YES parameter to stop the service immediately without waiting for requests in progress to complete. Outstanding requests are sent an error message. Use the IMMED=NO to allow the requests to complete processing. While waiting, the gateway does not accept any new requests. IMMED=NO is the default. The example in the listing below stops ECHO on the TUX1 gateway.

Listing 4‑19 STOP SERVICE Command (Remote Service) Example

STOP SERVICE,
LMID=TUX1,
NAME=ECHO