Chapter Contents |
Previous |
Next |
RESET |
Optional statement | |
Interacts with: | DELETE, LABEL, RENAME |
Syntax | |
Details |
Syntax |
RESET
ALL|variable-identifier-1
<...variable-identifier-n>; |
Details |
The RESET statement resets the columns that are associated with the listed SAS variables to the default column name, column data type, and ability to accept null values. If you specify ALL, all columns are reset to their default values, and any deleted columns are restored with their default values.
The variable-identifier argument can be either the SAS variable name or the positional equivalent from the LIST statement. The positional equivalent is the number that represents the variable's place in the data set. For example, if you want to reset the column associated with the third SAS variable, submit the following statement:
reset 3;
You can reset as many columns as you want in one RESET statement.
You must use the RESET statement after the LABEL statement for the LABEL statement to take effect.
An editing statement, such as RESET, must be specified after the database-description statements when you create and load a PC file. See LOAD for more information.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.