Clearing the ERDS when near full on VSE

If the ERDS is filling up too quickly you can use the special EREP procedure named IFCOFFLD to off-load the records to another data set. IFCOFFLD preserves the data on the ERDS and gives you a summary report that can help you find the problem that caused the ERDS to fill up.

IFCOFFLD does essentially the same thing a normal ERDS off-load procedure does:
  • It produces a system summary using the records on the ERDS.
  • It copies the records to an output data set and clears the ERDS.
The only difference between the two procedures is that IFCOFFLD does not cause the dumping of statistical data to the ERDS prior to reading records for the system summary. This difference is significant because it:
  • Prevents the loss of statistical data
  • Saves time

The following table shows what IFCOFFLD does and gives a JCS example.

IFCOFFLD Example
  1. Generates a system summary report without dumping the buffered and in-storage statistical data to SYSREC
  2. Copies the records from SYSREC to the output data set (SYS009)
  3. Zeros out SYSREC
// TLBL   HISTOT
// ASSGN  SYS009,TAPE
// EXEC   IFCOFFLD
/*
/&
Note: It would be advantageous to assign your regular permanent EREP history data set to SYS009 for IFCOFFLD. You should also set up an IFCOFFLD procedure to be started from the console as needed. See Automating the running of EREP.