Initiating and Reading Audit Trails
Overview
You initiate
an audit trail using the DATASETS procedure with the AUDIT and INITIATE
statements.
General form, DATASETS
procedure to initiate an audit trail:
PROC DATASETS LIB=libref <NOLIST>;
AUDIT SAS-data-set <SAS-password>;
INITIATE;
QUIT;
AUDIT
initiates and controls
event logging to an audit file.
libref
is the name of the
library where the data set 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 set
password, if one exists.
INITIATE
begins the audit trail on the data set specified in the AUDIT statement. ... |
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.