Reinitializing the logrec data set

You need to reinitialize the logrec data set either when the data set is full or when an uncorrectable error occurs.

If the data set is full, use EREP to record the data in a history data set and reinitialize logrec.

In the case of an error, invoke IFCDIP00 with JCL statements to reinitialize your existing logrec data set. IFCDIP00 resets the logrec data set header record field to indicate that the entire data set can be used and clears the time stamp record to hexadecimal zeros.

For information on using EREP, see the EREP User's Guide.

Figure 1 is an example of using the IFCDIP00 service aid to reinitialize the logrec data set. It use the following JCL statements:
Figure 1. Example: Reinitializing the logrec data set
//INSERLOG  JOB
//STEP1     EXEC  PGM=IFCDIP00
//SERERDS   DD    DSNAME=SYS1.LOGREC,UNIT=3380,
//     VOL=SER=111111,DISP=(OLD,KEEP)