The lerrs macro performs a series of reports from the dm,errors, file.
errors file, list-errors macro