Create Tape Category (CRTTAPCGY)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Create Tape Category (CRTTAPCGY) command creates a user defined category name and assigns it to a system name. A category may be used to "group" volume identifiers together. The following special value categories have been provided by the operating system and are defined for all library devices.

Top

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
Top

Category (CGY)

Specifies the category being created.

Element 1: Category name

character-value
Specify the name of the category to create.

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 name of the system that the category belongs to. Do not attempt to create a category and specify an owning system other than *CURRENT, unless the category has previously been defined on the system specified. For example, If system A and system B are attached to library device LIB01, then CRTTAPCGY CGY(CAT1 A) creating category CAT1 and assigning as its owner system A is required on system A before a CRTTAPCGY CGY(CAT1 A) creating category CAT1 and assigning as its owner system A can be done on system B. If both of these create commands are successful, CAT1 owned by system A is logically considered the same category and can be used for cartridges in library LIB01.
Top

Examples

CRTTAPCGY   CGY(CAT1 RCHAS215)

This command creates a user defined category named CAT1 and assigns as its primary owner system RCHAS215.

Top

Error messages

*ESCAPE Messages

CPF67DD
Category not created.
CPF67E2
Category already exists
Top