This example shows how the AGE statement ages SAS files.
|
options pagesize=40 linesize=80 nodate pageno=1 source; |
LIBNAME daily 'SAS-library';
|
proc datasets library=daily nolist; |
|
age today day1-day7;
run; |
6 options pagesize=40 linesize=80 nodate pageno=1 source;
7
8 proc datasets library=daily nolist;
9
10 age today day1-day7;
11 run;
NOTE: Deleting DAILY.DAY7 (memtype=DATA).
NOTE: Ageing the name DAILY.DAY6 to DAILY.DAY7 (memtype=DATA).
NOTE: Ageing the name DAILY.DAY5 to DAILY.DAY6 (memtype=DATA).
NOTE: Ageing the name DAILY.DAY4 to DAILY.DAY5 (memtype=DATA).
NOTE: Ageing the name DAILY.DAY3 to DAILY.DAY4 (memtype=DATA).
NOTE: Ageing the name DAILY.DAY2 to DAILY.DAY3 (memtype=DATA).
NOTE: Ageing the name DAILY.DAY1 to DAILY.DAY2 (memtype=DATA).
NOTE: Ageing the name DAILY.TODAY to DAILY.DAY1 (memtype=DATA).
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.