Delete Tape Category (DLTTAPCGY)

The Delete Tape Category (DLTTAPCGY) command deletes a user defined category name that was previously created with the Create Tape Category (CRTTAPCGY) command. If any cartridge identifiers are currently assigned to this category, the category is not deleted.

Parameters

Keyword Description Choices Notes
CGY Category Element list Required, Positional 1
Element 1: Category name Character value
Element 2: Category system Character value, *CURRENT

Category (CGY)

Specifies the category to delete.

This is a required parameter.

Element 1: Category name

character-value
Specify the name of a user-defined category. This category name must have previously been created with the Create Tape Category (CRTTAPCGY) command.

Element 2: Category system

Identifies the system the category belongs to. The system name is obtained from the current system name field of a Display Network Attributes (DSPNETA) command.

*CURRENT
The system currently running the command.
character-value
Specify the system name that is the primary owner of the category.

Examples

DLTTAPCGY   CGY(CAT1 RCHAS215)

This command deletes a user-defined category named CAT1 from the primary owner RCHAS215.

Error messages

*ESCAPE Messages

CPF67C6
Category &4 not deleted
CPF67E3
Category not deleted