![]() Chapter Contents |
![]() Previous |
![]() Next |
| RESET |
| Optional statement | |
| Applies to: | access descriptor or view descriptor |
| Interacts with: | ASSIGN, CONTENT, DROP, FORMAT, INFORMAT, KEY, MVF, RENAME, SELECT |
| Syntax | |
| Details | |
| Access descriptors | |
| View descriptors |
Syntax |
|
RESET <ALL |
column-identifier-1
<... column-identifier-n>>; |
| Details |
If you use an editing statement, such as RESET, it must follow the CREATE statement and the database-description statements when you create a descriptor. See CREATE for more information on the order of statements.
| Access descriptors |
When you create an access descriptor, the default setting
for a SAS variable name is a blank. However, if you have previously entered
or modified any of the SAS variable names, the RESET statement resets the
modified names to the default names that are generated by the ACCESS procedure.
How the default SAS variable names are set depends on whether you included
the ASSIGN statement. If you omitted ASSIGN or set it to
NO,
the default names are blank. If you set
ASSIGN=YES, the default
names are the first eight characters of each DBMS column name.
| View descriptors |
When creating the view descriptor, if you reset a SAS
variable and then select it again within the same procedure execution, the
SAS variable name, format, informat, database content, occurrence range, and
BY key are reset to their default values, (the SAS name is generated from
the DBMS column name, and the format and informat values are generated from
the data type). This applies only if you have omitted the ASSIGN statement
or set the value to
NO when you created the access descriptor
on which the view descriptor is based. If you specified
ASSIGN=YES when you created the access descriptor, the RESET statement has no
effect on the view descriptor.
The RESET statement can take one of the following arguments:
reset 3;
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.