DELETE DEVCLASS (Delete a device class)

Use this command to delete a device class.

To use this command, you must first delete all storage pools that are assigned to the device class and, if necessary, cancel any database export or import processes that are using the device class.

You cannot delete the device class DISK, which is predefined at installation, but you can delete any device classes defined by the Tivoli® Storage Manager administrator.

Privilege class

To issue this command, you must have system privilege or unrestricted storage privilege.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-DELete DEVclass--device_class_name--------------------------><

Parameters

device_class_name (Required)
Specifies the name of the device class to be deleted.

Example: Delete a device class

Delete the device class named MYTAPE. There are no storage pools assigned to the device class.
delete devclass mytape

Related commands

Table 1. Commands related to DELETE DEVCLASS
Command Description
DEFINE DEVCLASS Defines a device class.
AIX operating systemsLinux operating systemsDEFINE DEVCLASS (z/OS® media server) AIX operating systemsLinux operating systemsDefines a device class to use storage managed by a z/OS media server.
QUERY DEVCLASS Displays information about device classes.
QUERY DIRSPACE Displays information about FILE directories.
UPDATE DEVCLASS Changes the attributes of a device class.
AIX operating systemsLinux operating systemsUPDATE DEVCLASS (z/OS media server) AIX operating systemsLinux operating systemsChanges the attributes of a device class for storage managed by a z/OS media server.