DELETE LIBRARY (Delete a library)
Use this command to delete a library. Before you delete a library, you must delete other associated objects, such as the path.
Use this command to delete a library. Before you delete a library, delete the path and all associated drives.
Privilege class
To issue this command, you must have system privilege or unrestricted storage privilege.
Parameters
- library_name (Required)
- Specifies the name of the library to be deleted.
Example: Delete a manual library
Delete the manual library named LIBR1.delete library libr1
Related commands
Command | Description |
---|---|
DEFINE DRIVE | Assigns a drive to a library. |
DEFINE LIBRARY | Defines an automated or manual library. |
DEFINE PATH | Defines a path from a source to a destination. |
DELETE DRIVE | Deletes a drive from a library. |
DELETE PATH | Deletes a path from a source to a destination. |
PERFORM LIBACTION | Defines all drives and paths for a library. |
QUERY DRIVE | Displays information about drives. |
QUERY LIBRARY | Displays information about one or more libraries. |
QUERY PATH | Displays information about the path from a source to a destination. |
UPDATE DRIVE | Changes the attributes of a drive. |
UPDATE LIBRARY | Changes the attributes of a library. |
UPDATE PATH | Changes the attributes associated with a path. |