Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change Tape Cartridge (CHGTAPCTG) command changes the specified cartridge from any category to the specified category.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DEV | Library device | Name | Required, Positional 1 |
CTG | Cartridge ID | Values (up to 40 repetitions): Character value, *ALL | Optional |
CGY | Category | Single values: *SHARE400 Other values: Element list |
Optional |
Element 1: Category name | Character value, *SAME, *NOSHARE, *IPL, *NL, *CNV | ||
Element 2: Category system | Character value, *SAME, *CURRENT |
Top |
Specifies the device to be used. The device name must have previously been created on the system using the Create Device Media Library (CRTDEVMLB) command.
This is a required parameter.
Top |
Specifies the cartridge identifiers that are to have their corresponding categories changed to the category specified.
Note: The cartridge identifier should represent the external identifier if the library device has a bar code scanner to read external identifiers.
Top |
Specifies the category to change the tape cartridge to. The category cannot be changed with this command if it is a *NOSHARE category unless the command is executed from the system that owns the rights of the *NOSHARE.
Single values
Element 1: Category name
Element 2: Category system
The system name is obtained from the pending system name field of a Display Network Attributes (DSPNETA) command. If there is no pending system name, the current system name attribute is used.
***** Attention ***************************** If the system name is changed, all category information associated with all tape cartridges in library devices are not valid. *********************************************
Top |
CHGTAPCTG DEV(LIB01) CTG(VOL1) CGY(*SHARE400)
This command changes the category associated with the cartridge identifier VOL1 to the category *SHARE400.
Top |
*ESCAPE Messages
Top |