chresgrp

The chresgrp command is used to change a resource group object on a storage image.

Note: Resource Group 0 (zero) is predefined and cannot be created, deleted, or modified. By default, all resources belong to this group unless otherwise specified.
Read syntax diagramSkip visual syntax diagramchresgrp  -dev  storage_image_ID  -label  resource_group_label -name  resource_group_name resource_group_ID  "-"

Parameters

-dev storage_image_ID
(Optional) The storage image ID, which consists of the manufacturer, machine type, and serial number. The storage image ID is required if you do not specify a fully qualified resource group ID, do not set the devid variable in your profile or through the setenv command, and the HMC is aware of more than one storage image. Using the -dev parameter temporarily overrides any defined value for devid for the current command.
-label resource_group_label
(Optional) The resource group label. The resource group label is 1 to 32 characters and is limited to upper and lower case alphabetic and numeric characters, and the special characters (-), (_), and (.). Label names must be unique.
-name resource_group_name
(Optional) Specifies the user-assigned nickname for this resource group object. The maximum length is 64 single-byte or 32 double-byte characters.
resource_group_ID | -
(Required) The resource group ID. The resource group ID begins with the letters RG and ends with a decimal number. If you use the dash (-), the specified value is read from standard input.

Example: Changing a resource group object on a storage image

dscli> chresgrp -dev IBM.2107-75FA120 -name “A_Group” RG1 
Output
Resource Group RG1 successfully modified.