Use the DELETE LIBRARY command to delete an existing library. Prior to deleting a library, all assigned drives must be deleted.
The server options file that is created during installation includes a DEVCONFIG option that specifies a default device configuration file named devcnfg.out. You can specify other device configuration files with additional DEVCONFIG options. When you use this option in the dsmserv.opt file, the files specified are automatically updated whenever a device class, library, or drive is selected, updated, or deleted.
Privilege Class
To issue this command, you must have system privilege or unrestricted storage privilege.
Syntax
>>-DELete LIBRary--libraryname---------------------------------><
Parameters
Examples
Task
Delete the MANLIB library.
Related Commands
Table 76. Commands Related to DELETE LIBRARY
| Command | Description |
|---|---|
| DEFINE DRIVE | Assigns a drive to a library. |
| DEFINE LIBRARY | Defines an automated or manual library. |
| DELETE DRIVE | Deletes a drive from a library. |
| QUERY DRIVE | Displays information about one or more drives. |
| QUERY LIBRARY | Displays information about one or more libraries. |
| UPDATE DRIVE | Changes the attributes of a drive. |
| UPDATE LIBRARY | Changes the attributes of a library. |