The RACROUTE macro with the REQUEST=AUDIT parameter checks the auditing options for a given resource and class, and logs a record for a given event.