Chapter Contents

Previous

Next
The DATASETS Procedure

AGE Statement


Renames a group of related SAS files in a library.

Featured in: Aging SAS Data Sets


AGE current-name related-SAS-file(s)
</ <ALTER=alter-password>
<MEMTYPE=mtype>>;


Required Arguments

current-name
is a SAS file that the procedure renames. current-name receives the name of the first name in related-SAS-file(s).

related-SAS-file(s)
is one or more SAS files in the SAS data library.


Options

ALTER=alter-password
provides the alter password for any alter-protected SAS files named in the AGE statement. Because an AGE statement renames and deletes SAS files, you need alter access to use the AGE statement. You can use the ALTER= option in parentheses after the name of each SAS file or after a forward slash.
See also: Using Passwords with the DATASETS Procedure

MEMTYPE=mtype
restricts processing to one member type (mtype). All the SAS files you name in the AGE statement must be the same member type.
Aliases: MTYPE=, MT=
Default: If you do not specify MEMTYPE= in the PROC DATASETS statement, the default is DATA.
See also: Restricting Member Types Available for Processing


Details


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.