rmhost

Use the rmhost command to remove a connection to a host system from the copy services management server.

For z/OS® host systems, this command is applicable only if the copy services management server is connected to the host system by using an IP address or host name.

Syntax

Read syntax diagramSkip visual syntax diagramrmhost-help-h-?-quiet-portportIP_Address -

Parameters

-help | -h | -?
Lists help for the command. If you specify additional parameters and arguments, those parameters and arguments are ignored.
-quiet
Suppresses the confirmation prompt for this command. This flag answers yes to all confirmation prompts.
-port port
Specifies the port number for the host system to be removed if the system was added with a port other than the default port 9930.
IP_Address | -
Specifies the IP address or host name of the host system to be removed.

Alternatively, use the dash (-) to specify that input for this parameter comes from an input stream (stdin). The dash is supported only in single-shot mode.

Example: Removing host systems

The following command shows how to remove a host system with IP address 192.0.2.0. In this example, you could omit the -port parameter because port 9930 is the default.

csmcli> rmhost -port 9930  192.0.2.0