If you want to define a Logrec Data Set, you must first allocate it and then initialize it.
//IFCDIP00 JOB CLASS=A,MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=&SYSUID
//*------------------------------------------------------------------
//* CREATE A NEW LOGREC DATASET AND INITIALIZE IT
//*------------------------------------------------------------------
//IFCDIP00 EXEC PGM=IFCDIP00
//SERERDS DD DSN=SYS1.LOGREC,DISP=(,CATLG),
// VOL=SER=MVSRES,UNIT=3390,SPACE=(CYL,3,,CONTIG)
/*
In this example we create and initialize Logrec Data Set SYS1.LOGREC located on volume MVSRES.
Note: the newly allocated Logrec data set will not be used until you initialize it and IPL the system on which it is to be used.
Thank you, this is exactly what I was looking for.