SET TAPE
Authorization
Privilege Class: B
Purpose
Use SET TAPE to reencrypt (rekey) an encrypted tape with different key information without rewriting the tape.
Operands
- rdev
- rdev1-rdev2
- specifies a real device number, a list of real device numbers, or a range of real device numbers.
- REKEY keyalias1
- REKEY keyalias2
- reencrypts a tape has was already encrypted using different key information so that you do not need to rewrite the tape. At least one keyalias must be specified.
Usage Notes
- The range of devices that are specified on a single CP SET TAPE command cannot span more than 256 real device numbers.
- The REKEY function is only valid when issued against 3592 tape drives that support hardware encryption and rekeying, and when the mounted tape cartridge is encrypted and positioned at the beginning of the tape (BOT). This will take a few moments to complete as it performs the necessary key exchanges between the control unit and the key manager.
Messages
- HCP006E Invalid device type - rdev
- HCP040E Device rdev does not exist
- HCP1130E Device rdev does not support a rekey operation
- HCP1131I Rekey operation succeeded for device rdev
- HCP1132E Rekey operation failed for device rdev.
- HCP1132E Rekey operation failed for device rdev. Tape cartridge is invalid.
- HCP6000E The range of device numbers cannot exceed 256.
- HCP9968E Key alias not found: keyalias.
