rmsrg

Use the rmsrg command to delete the specified Storage Resource Group. The group types (Storage Resource Groups, Reporting Groups and Application Groups) that have child groups are not deleted. A warning message is issued and indicates that the group type being deleted contains child groups and the child groups must be deleted before the parent group can be deleted.

Syntax

Read syntax diagramSkip visual syntax diagramtpctoolrmsrg-user user_name -pwd password -url url -nameSRGname-fs character-header -help-qs character?-silent

Parameters and arguments

-user user_name
Specifies an IBM Spectrum Control user ID.
-pwd password
Specifies the password for the IBM Spectrum Control user ID.
-url url
Specifies the Device server. The format of the URL is system:port_number, where system represents either the host name or IP address, and port_number represents the IBM Spectrum Control Device server port.
-name SRGname
Specifies the name of the Storage Resource Group to be deleted.
-fs character
Specifies the 7-bit character that separates the information in the output. If you omit this parameter, the information is separated by blank spaces.
-header
Suppresses the column headings in the output. If you omit this parameter, the column headings are included.
-help | -h | -?
Lists help information for the command.
-qs character
Specifies the 7-bit character that surrounds character strings and date stamps in the output. If you omit this parameter, character strings and date stamps are enclosed by double quotation marks (").
-silent
Suppresses all output for the command. If you omit this parameter, output is included.

Example: Deleting a Storage Resource Group

The following command deletes a specified Storage Resource Group:
tpctool
tpctool> rmsrg -name Administrator.testsrg

The following output is returned:

Name                  Status
=============================
Administrator.testsrg SUCCESS