Previous Page | Next Page

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-1 <...current-name related-SAS-file-n>
</ <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-1 <...related-SAS-file-n>.

related-SAS-file-1 <...related-SAS-file-n>

is one or more SAS files in the SAS 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 option either 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. All of the SAS files that you name in the AGE statement must be the same member type. You can use the option either in parentheses after the name of each SAS file or after a forward slash.

Aliases: MTYPE=, MT=
Default: If you do not specify MEMTYPE= in the PROC DATASETS statement, the default is DATA.
See also: Restricting Member Types for Processing

Details

Previous Page | Next Page | Top of Page