chcg - Change cartridge group attributes
Change specific attributes of CARTRIDGEGROUP objects in the TSLM database.
Syntax
chcg [cartridgegroup_name [...] | -prio num | -mountlimit num |
-dealloc name | -regex pattern] Parameters
- cartridgegroup_name [...]
- Specifies the cartridgegroup name for which attributes should be changed. Multiple names must be separated with a blank character between each name.
- -prio num
- Specifies the new priority for the selected cartridgegroup objects.
- -mountlimit num
- Specifies the new mountlimit value the selected cartridgegroup objects should get.
- -dealloc name
- Specifies the Cartridge Group for deallocation.
- -regex pattern
- Specifies a regular expression that describes the names of the
cartridgegroup objects for which attributes should be altered. Note: Quoting is required to ensure correct shell processing.
Results
Beyond the general error code, the following command-specific error codes are returned:
- EMM1401E – in case the cartridgegroup name(s) specified by name, regex or match option could not be found
Examples
chcg -prio 100 CG1