Manual log record deletion
You can manually delete log records by using the DELETE.LOG INACTIVE or the CLEANUP. RECON command.
DBRC does not automatically delete RECON records that describe log data sets (PRILOG and SECLOG records). This design gives you control over which RECON records associated with log data sets are deleted. You must periodically delete PRILOG and SECLOG records that are no longer needed for recovery.
The current size of the PRILOG record is printed on the listing of the PRILOG record.
Use the DELETE.LOG INACTIVE command to delete inactive PRILOG records, SECLOG records, and their associated LOGALL records.
Common problems are old open (nonzero stop time) PRILOG records that were created by jobs that terminated abnormally (without closing their logs). You can find these open logs by issuing the LIST.LOG command with the OPEN parameter. You can use the DELETE.LOG command with the STARTIME parameter to remove old, unnecessary, open PRILOG family records.
Alternatively, use the CLEANUP.RECON command to unconditionally delete old or expired log information, CA data sets, and recovery-related information (image copy, allocation, reorganization, and recovery records) from the RECON data set. Using the specified time stamp or retention period, recovery-related data and inactive logs are deleted and PRILOG compression is forced on both open logs and closed logs that have a close time after this time.
Deleting log records does not prevent the RECON data sets from filling up because the space freed by deletions might not be reused by VSAM. However, if you delete the log records before you back up or reorganize the RECON data set, you can reclaim the space during backup or reorganization.