Initiating Generation Data Sets
Overview
To initiate generation data sets and to specify the
maximum number of versions to maintain, you use the output data set
option GENMAX= when creating or replacing a data set. If the data
set already exists, you can use the GENMAX= option with the DATASETS
procedure and the MODIFY statement.
General form, DATASETS
procedure, and MODIFY statement with the GENMAX= option:
PROC DATASETS LIB=libref <NOLIST>;
MODIFY SAS-data-set (GENMAX=n);
QUIT;
libref
is the library that
contains the data that you want to modify.
NOLIST
suppresses the directory
listing.
SAS-data-set
is the name of the
SAS data set that you want to modify.
n
is the number of historical ... |
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.