rmslot - Remove slot

Purpose

Remove SLOT objects from the TSLM database. In case there are existing references to an object TSLM prevents its deletion in order to maintain a consistent database. The remove operation is transactional which means that either all specified objects are removed or no objects if the removal encounters an error.

Syntax

rmslot -lib library_name [...] [slot_name [...] | -regex pattern] 

Parameters

-lib library_name
Specifies the library for which all slots should be removed.
CAUTION:
Avoid accidental deletion of drive managers.
slot_name
Specifies the name of the slot to be removed. Multiple names must be separated with a space between each name.
-regex pattern
Specifies a regular expression that describes the name of the slot that should be removed.
Note: Quoting is required to ensure correct shell processing.

Results

Beyond the general error code, the following command-specific error codes are returned:

  • EMM1610E - if a slot could not be deleted because of existing references.
  • EMM1604E - in case the slot(s) specified by name, regex or match option could not be found.

Examples

rmslot -lib "MyTS3500-001"

Related commands