How to resolve "CTC7001E Dynamic allocation of CO100002 reason code 9700" using CA Copycat with FILECOPY

Document ID : KB000033522
Last Modified Date : 14/02/2018
Show Technical Document Details

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'))
DO
SET &STORCLAS = ''
END

 

Refer to the below link for details about the IBM APAR that introduced this.

URL:

http://www-01.ibm.com/support/docview.wss?uid=isg1OA45148