The RESET statement
resets column attributes to their default values. This statement
has different effects on access and view descriptors.
For
access
descriptors, the RESET statement resets the specified
column names to the default names that are generated by the ACCESS
procedure. The RESET statement also changes the current SAS variable
format to the default SAS format. Any previously dropped columns
that are specified in the RESET statement become available.
When creating an access
descriptor, if you omit the ASSIGN statement or set it to
NO
,
the default SAS variable names are blanks. If you set ASSIGN=YES,
default names are the first eight characters of each DBMS column name.
For
view
descriptors, the RESET statement clears (deselects)
any columns that were included in the SELECT statement. When you create
a view descriptor that is based on an access descriptor that is created
without an ASSIGN statement or with ASSIGN=NO, resetting and then
reselecting (within the same procedure execution) a SAS variable changes
the SAS variable names and formats to their default values. When you
create a view descriptor that is based on an access descriptor created
with ASSIGN=YES, the RESET statement does not have this effect.