Chapter Contents

Previous

Next
RESET

RESET



Resets column names and data types to their default values

Optional statement
Applies to: New database


Syntax
Details

Syntax

RESET ALL|variable-identifier <...variable-identifier-n>;


Details

The RESET statement resets the items associated with the listed SAS variables to their defaults. If you use ALL, all items are reset to the defaults and deleted items will be restored with default values. Item names default to SAS variable names (or labels), item types are generated from the SAS variable formats, and all items are non-key at level 0.

The variable-identifier can be either the SAS variable name or the positional equivalent in the LIST output, which is the number that represents the variable's place in the data file. For example, if you want to reset the item associated with the third SAS variable, issue the following statement:

     reset 3;

You can reset as many items as you want in one RESET statement. ALL means all previous RENAME, DELETE, INDEX, LEVEL, and S2KLEN statements will be ignored.


Chapter Contents

Previous

Next

Top of Page

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