Controlling the Audit Trail

Overview

Once you activate an audit trail, you can suspend and resume logging, and terminate (delete) the audit trail by resubmitting a PROC DATASETS step with additional statements. You use the DATASETS procedure to suspend and then resume the audit trail. You also use this procedure to delete or terminate an audit trail.
General form, DATASETS procedure to suspend, resume, or terminate an audit trail:
PROC DATASETS LIB=libref<NOLIST>;
AUDIT SAS-data-set <SAS-password>;
SUSPEND | RESUME | TERMINATE;
QUIT;
Here is an explanation of the syntax:
libref
is the name of the library where the table to be audited resides.
NOLIST
suppresses the directory listing.
SAS-data-set
is the name of the SAS data ...

Get SAS Certification Prep Guide, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.