Allocate IEF210I DD DUMMY
search cancel

Allocate IEF210I DD DUMMY

book

Article ID: 124494

calendar_today

Updated On:

Products

Allocate DASD Space and Placement

Issue/Introduction

Allocate is active on this and a production batch job is failing with IEF210I userid jobname STEP1 stepname - UNIT FIELD SPECIFIES INCORRECT DEVICE when using the following JCL:

//ALLOC1 PROC
//COPY000 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//DDName1 DD DSN=hlq.DSN,DISP=(NEW,CATLG,CATLG),
// UNIT=PROD,SPACE=(TRK,1)
// PEND
//STEP1 EXEC ALLOC1
//DDName1 DD DUMMY

Attempting to run the same JCL just removing the inline proc, the job worked: 

//COPY000 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//DDName1 DD DSN=hlq.DSN,DISP=(NEW,CATLG,CATLG),
// UNIT=PROD,SPACE=(TRK,1)

Resolution

//DDName1 DD DUMMY is stopping the job from running, it is nulling the one live DD.