search cancel

CA1 COPYCAT - list of processed Volumes

book

Article ID: 134253

calendar_today

Updated On:

Products

CA 1 Tape Management CA 1 Tape Management - Copycat Utility CA 1 Tape Management - Add-On Options

Issue/Introduction

We are migrating our VTS from TS7740 to TS7760 and we are using CA Copycat to copy the volumes.
We have specified Input Volume to expire after 3 days and we are submitting enormous number of jobs to do the copying. 
Other than listing the Input and Output volumes from the job log, is there any other way to take a report from COPYCAT to list all the volumes (Source & Target) migrated using COPYCAT?

Environment

Release : 14.0

Component : CA 1 Tape Management

Resolution

The Copycat Report from the FILECOPY job is the only report, which exactly shows which source volume has been copied to which target volume. 
In the TMC, the volumes created by Copycat are flagged with X'01' in FLAG3 and thus a TMSGRW report can be used to check what has been created so far. 
But it is no possible to see the related source tape. It would just be possible to report on tapes used for input based on last used program. 

Following a TMSGRW sample to list all tapes created by Copycat:


//TMSGRW.SYSIN DD *
*----------------------------------------------------------
* TAPES CREATED BY COPYCAT 
*----------------------------------------------------------
CONTROL-SECTION 
ALTER DSNB=NO 
TITLE 'TAPES CREATED BY COPYCAT' 
DEFINE COPBIT HX '01' 

PROCESS-SECTION 
WHEN FLAG3 ON COPBIT 
LIST 

REPORT-SECTION 
PRINT VOLSER 
PRINT DSN 
PRINT CDATE 
PRINT EXPDT 
PRINT FLAG3 
/* 


This TMSGRW sample listst all tapes with last used Program COPYCAT, which were not created by copycat (X'01 bit in FLAG3 is off).
NOTE: This report might be incomplete in case the input tape has already been scratched or had been reused by a different program

//TMSGRW.SYSIN DD * 
*----------------------------------------------------------
* TAPES USED AS INPUT WITH COPYCAT 
*----------------------------------------------------------
CONTROL-SECTION 
ALTER DSNB=NO 
TITLE 'TAPES USED AS INPUT WITH COPYCAT' 
DEFINE COPBIT HX '01' 
DEFINE COPYCAT CH 'COPYCAT' 

PROCESS-SECTION 
WHEN FLAG3 OFF COPBIT 
 AND LPGM EQ COPYCAT 
LIST 

REPORT-SECTION 
PRINT VOLSER 
PRINT DSN 
PRINT CDATE 
PRINT EXPDT 
PRINT LPGM 
PRINT FLAG3