CA Disk 12.5 : error ADSDM224 4558 VOLUME Vnnnnn ALREADY HAS A COPY VOLUME. COPY REQUEST REJECTED.

Document ID : KB000107704
Last Modified Date : 01/08/2018
Show Technical Document Details
Introduction:
CA Disk interfaces the main vendors Tape Management System products, like CA1 and CA TLMS and IBM DFRMM.
All of them provides an External Data Manager (EDM) interface that is used by CA Disk to manage the Archive and Backup tapes, as these products also maintain their own catalog of tape files and volumes.
Using the External Data Manager (EDM) interface of a tape management system with CA Disk is highly recommended. It provides the best method of securing CA Disk tapes, including those being created as a result of an abend.
It is possible to make additional copies of a tape archive and If you produce an archive tape without a duplicate copy, it is possible to create it later. There are also other reasons why you may want to copy an archive tape. If you had a primary and duplicate copy, but the primary copy was lost, damaged, or otherwise not available, you may want to copy the duplicate copy to regain the protection in having two tapes.
CA Disk must keep track of multiple copies of archive tapes, so when it makes a copy of an existing archive tape, the volume serial of the new copy is recorded in the index of the volume record for which the copy is made.
Sometimes it can happen that, due to any problem with the Tape Management System Product, some of these tapes (Primary or Secondary copy) are really lost even if still referenced into the CA Disk index record of the involved volumes. 

For example, tape BA6285 (Primary copy) has tape BA1223 pointed in the CA Disk index volume record as Secondary copy, but BA1223 is lost in the Tape Management System product.
So it is necessary to re-create a new Secondary copy for the Primary tape BA6285. 

Usually this is done executing a 

//COPY EXEC PGM=ADSMI002,PARM=ADSDM227

and sometimes it can get the error :
... 
2018.201 JUL 20, 2018 M E S S A G E S 
FRIDAY 3.04 PM 

ADSDM224 4558 VOLUME BA6285 ALREADY HAS A COPY VOLUME. COPY REQUEST REJECTED. 
ADSDM227 2453 ERROR CREATING COPY VOLUME FOR INPUT VOLUME BA6285, SEE PREVIOUS 
...

how to bypass it and create the Secondary copy correctly? 

 
Environment:
Z/OS - CA Disk - Tape Management System Product (CA1 - CA TLMS or IBM DFRMM) 
Instructions:
The error is due to the fact that the CA Disk index volume record of tape BA6285 still references BA1223 as 'Copy Key', so, before re-creating a new Secondary copy for tape BA6285, it is necessary to execute the following steps: 

1) Execute an IXUPDATE with 

//STEP EXEC IXUPDATE 
//SYSIN DD * 
RESET KEY=BA6285,COPY=NULL 
RESET KEY=BA1223,SCRATCH 

so that the field 'Copy Key' of the CA Disk index record of volume BA6285 is blanked out and tape BA1223 is made scratch also in CA Disk.

2) Display of the Index volume record for tape BA6285  to check for 'Copy Key' field content that should now be null.

3) Execute  

//COPY EXEC PGM=ADSMI002,PARM=ADSDM227

to create the copy of BA6285 

References to this procedure are reported in CA Disk 12.5 Using Guide - Chapter 'IXUPDATE' - Section 'Making Additional Copies of Archive Tapes' 

If, even after these steps the problem still occurs, Please open a Case with CA Support