Sometimes get a RC=970C_42CD allocation error when executing a CA Endevor processor. What is wrong?

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

Getting a 970C_42CD allocation error when executing a CA Endevor processor. What is wrong?

C1A0010E  ALLOCATION ERROR RC=970C-42CD, DDNAME=C1INIT01.        
C1A0011E  IKJ56894I DATA SET USERID.COBRCGY.LINKCTL NOT ALLOCATED+.
C1A0012E  IKJ56894I STORAGE MANAGEMENT SUBSYSTEM DETECTED AN ERROR

Environment:
z/OS
Cause:

970C is a Severe SMS VTOC service error.
42CD is a duplicate data set name exists in the catalog. 

Check the data set identified in the C1A0011E error message and determine if it is already allocated. 

Resolution:

Review the processor and if the processor is allocating and cataloging a file like this:

//INIT1    EXEC PGM=BC1PDSIN,MAXRC=0                        
//C1INIT01 DD  DSN=&LINKCTL,DISP=(NEW,CATLG),              
//             UNIT=&WRKUNIT,SPACE=(TRK,(2,2),RLSE),        
//             DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200,DSORG=PS) 

 

Add a step to the processor to first delete the file before allocating it.