When running PGM=COPYCAT with FILECOPY, you may encounter the below error messages in the joblog:
CTC7004I Dynamic allocation start for CO100002 VOL=230283 FS=2
CTC7001E Dynamic allocation of CO100002 reason code 9700
CTC1015E RC=16 from CTCOPYM0
Note: The problem occurs for files allocated with a sequence >1 and on rel. z/OS 2.1
COPYCAT uses the UNIT address during allocation of secondary files.
For secondary files you don't need a STORCLAS assigned.
To resolve this problem, make changes to the STORCLAS ACS routine for file sequences >1, to assign a null storage class.
Sample code :
WHEN ((&FILENUM NE 1) AND
(&PGM EQ 'COPYCAT'))
SET &STORCLAS = ''
Refer to the below link for details about the IBM APAR that introduced this.
Release: ONE...00200-12-One-TAPE MANAGEMENT