Chapter Contents |
Previous |
Next |
The DATASETS Procedure |
Featured in: | Modifying SAS Data Sets |
MODIFY
SAS-file <(file-option(s))>
</ <GENNUM=integer> <MEMTYPE=mtype>>; |
To do this | Use this option | |
---|---|---|
Restrict processing to a certain type of SAS file | MEMTYPE= | |
Specify attributes | ||
Assign or change a data set label | LABEL= | |
Assign or change a special data set type | TYPE= | |
Specify how the data are currently sorted | SORTEDBY= | |
Modify passwords | ||
Modify an alter password | ALTER= | |
Modify a read, write, or alter password | PW= | |
Modify a read password | READ= | |
Modify a write password | WRITE= | |
Modify generation groups | ||
Modify the maximum number of generations for a generation group | GENMAX= | |
Modify a historical version | GENNUM= |
Required Arguments |
Options |
See also: | Manipulating Passwords |
Range: | 0 to 999 |
Default: | 0 |
Range: | 1-40 characters |
Featured in: | Modifying SAS Data Sets |
Aliases: | MTYPE= and MT= |
Default: | If you do not specify the MEMTYPE= option in the PROC DATASETS statement or in the MODIFY statement, the default is MEMTYPE=DATAVIEW. |
See also: | Restricting Member Types Available for Processing |
See also: | Manipulating Passwords |
See also: | Manipulating Passwords |
Featured in: | Modifying SAS Data Sets |
sort-information can be one of the following:
Featured in: | Modifying SAS Data Sets |
SAS does not verify
Note: Do not confuse the TYPE= option with the MEMTYPE= option. The
TYPE= option specifies a type of special SAS data set. The MEMTYPE= option
specifies one or more types of SAS files in a SAS data library.
Tip: | Most SAS data sets have no special type. However, certain SAS procedures, like the CORR procedure, can create a number of special SAS data sets. In addition, SAS/STAT software and SAS/EIS software support special data set types. |
See also: | Manipulating Passwords |
Manipulating Passwords |
/* assign a password to an unprotected file */ modify colors (pw=green);
/* assigns an alter password to an already read-protected SAS data set */ modify colors (read=green alter=red);
/* changes the write password from YELLOW to BROWN */ modify cars (write=yellow/brown);
/* use alter access to change the unknown read password to BLUE */ modify colors (read=/blue alter=red);
/* removes the alter password RED from STATES */ modify states (alter=red/);
/* Use alter access to remove the read password */ modify zoology (read=green/ alter=red);
/* Use PW= as an alias for either WRITE= or ALTER= to remove the unknown read password */ modify biology (read=/ pw=red);
Working with Generation Groups |
/* change the number of generations on A to 99 */ modify A(genmax=99);
/* removes the alter password RED from STATES(GENNUM=2) */ modify states (alter=red/) / gennum=2;
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.