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
versions that you want to keep, including the base version:
|
proc datasets nolist; modify cargorev (genmax=4); quit;