The Encore Sanity report shows the errors below,
*** Job TEST (Jxxxxxxx) has an invalid record header in slot number 999999
CYB633E Invalid record header encountered, Slot 999999
*** ERROR 24 while Reading record 999999***
....
=====================================
EXECUTION HISTORY FILE ERROR SUMMARY:
=====================================
Number of lost slots: 480 (Cond Code 0004)
Number of incorrect index pointers: 0 (Cond Code 0008)
Number of bad file record headers: 53 (Cond Code 0012)
Number of broken-record-queue errors: 2 (Cond Code 0048)
Component: ESP Workload Automation
Release: 12
To clear the "broken-record-queue errors", run the utility CYBRMPRG with JOB=jobname.
The "bad file record headers" errors should disappear after the next CYBRMPRG run.
To remove the lost slots, follow the instructions from CYBRMPRG - Batch Purge EXH
CYBRMSAN can remove lost slots from the EXH data set. The utility must have exclusive write access to the EXH data set to repair it.
The following procedure shows how to remove lost slots:
1. Issue the ENCPARM QUIESCE command on all subsystems using the EXH data set.
2. In the EXH DD statement of the utility JCL, change DISP=SHR to DISP=OLD.
3. Run the CYBRMSAN utility.
4. Issue the ENCPARM RESTART command on all subsystems using the EXH data set.