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

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

book

Article ID: 33522

calendar_today

Updated On:

Products

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

Issue/Introduction

When using COPYCAT's FILECOPY how is the "CTC7001E Dynamic allocation of CO100002 reason code 9700"  resolved?

Resolution

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 IBM:   

OA45148: IEF120I ALLOCATION FAILED - A NON-LIBRARY REQUEST SPECIFIED A LIBRARY DEVICE / JOB ENDED RC 0016

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