CL Command Reference - RMVTAPCTG

CL Command List > RMVTAPCTG Reference

Description:

The Remove Tape Cartridge (RMVTAPCTG) command removes the specified cartridge identifiers from their current category, or from the category specified, and places them in the eject (*EJECT) category. The *EJECT category is not a valid category for input/output (I/O) operations; cartridges in the *EJECT category cannot be used in the tape device.


Examples:

Example 1: Removing a Single Cartridge to the *HIGHCAP station

RMVTAPCTG DEV(LIB01) CTG(VOL4) STATION(*HIGHCAP)

This command removes the cartridge identifier VOL4 from its current category and places it in the *EJECT category. The cartridge is placed in the high capacity output station. If no high capacity output station is defined the cartridge will be placed in a convenvience I/O station. If no convenience I/O is supported the cartridge will remain in a storage slot.



Example 2: Removing All Cartridges from the *IPL Category

RMVTAPCTG DEV(LIB01) CGY(*IPL) STATION(*CNV)

This command removes all cartridge identifiers in the *IPL category and places them in the *EJECT category. The cartridges are placed in the convenience I/O station.