Getting a 970C_42CD allocation error when executing an 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
z/OS
Endevor
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.
//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)
Suggested Solution:
Add a step to the processor to first delete the file before allocating it.
C1A0011E IKJ56894I DATA SET SYS2TEMP.D20188.T043251.RA0.ADDJCLUB.GENERLS NOT ALLOCATED+
If the last qualifier is getting truncated, this could result in duplicate names.
For example processor has:
//C1INIT10 DD DSN=&&GENERLST,
//C1INIT11 DD DSN=&&GENERLS1,
//C1INIT12 DD DSN=&&GENERLS2,
//C1INIT13 DD DSN=&&GENERLS3,
SYS2TEMP.D20188.T043250.RA0.ADDJCLUB.GENERLS
//C1INIT10 DD DSN=&&GENRLST,
//C1INIT11 DD DSN=&&GENRLS1,
//C1INIT12 DD DSN=&&GENRLS2,
//C1INIT13 DD DSN=&&GENRLS3,