Posts related to the mainframe world
JCL
Create a History Data Set from Log Data Recorded on the Logrec Log Stream
The following JCL creates a history data set from log data recorded on the Logrec log stream //LOGRECHS JOB,MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=&SYSUID //EREPDALY EXEC PGM=IFCEREP1,PARM=(‘HIST,ACC=Y,SYSUM’) //ACCIN DD DSN=SYS1.SYSPLEX.LOGREC, // SUBSYS=(LOGR,IFBSEXIT,,’DEVICESTATS,LASTRUN’), // DCB=(RECFM=VB,BLKSIZE=4000) //ACCDEV DD DSN=MVS.LOGREC.LGSTREAM.HISTORY, // DISP=(NEW,CATLG), // DCB=(RECFM=VB,BLKSIZE=4000), // UNIT=SYSDA,SPACE=(CYL,(25,5)) //SERLOG DD DUMMY //DIRECTWK DD UNIT=SYSDA,SPACE=(CYL,15,,CONTIG) //TOURIST DD SYSOUT=A,DCB=BLKSIZE=133 //EREPPT DD SYSOUT=A,DCB=BLKSIZE=133 […]