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;
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 set that you want to audit.
SAS-password
is the SAS data file
password, if one exists.
SUSPEND
suspends event logging
to the audit file, but does not delete the audit file.
RESUME
resumes event logging
to the audit file, if it was suspended.
TERMINATE
terminates event logging
and deletes the audit file.
|
proc datasets nolist; audit capinfo; terminate; quit;