Symptoms
Even when tapes are properly defined as cleaning tapes, cleaning jobs fail when connecting to the module ssjuker, reporting rc=6022.
Resolution
You cannot configure automated cleaning for NDMP tape libraries.
For all non-NDMP tape libraries, an automated cleaning job relies on its connection to the tape library module. This connection is not available for use when an NDMP device controls the robotic arm.
Attempting to run an automated tape cleaning job on an NDMP node could result in an rc=6022 error.
To check the configuration of a tape library, go to the management console, select the Configure tab, select the Devices sub-tab, and then select Edit Jukebox.
If the tape library is an NDMP node, use an alternative means for drive cleaning. Clean drives manually, or set up an automated process through an external means, such as the library controls on a newer jukebox.