The ACCESS Procedure for PC Files

RESET Statement

Resets PC file columns to their default settings.
Restriction: Not allowed with UPDATE
Interaction: ASSIGN, DROP, FORMAT, RENAME, SELECT
Notes: For DBF, DIF, WK1, WK3, WK4, Excel 4, Excel 5, and Excel 95 file formats under Windows operating environments, access descriptor or view descriptor, ASSIGN, DROP, FORMAT, RENAME, SELECT UPDATE

Applies to access descriptor or view descriptor

Syntax

RESET ALL | 'column-identifier1' ... 'column-identifierN'

Required Arguments

ALL
for access descriptors, resets all PC file columns that are defined to their default names and format settings and re-selects any dropped columns.
For view descriptors, ALL resets all columns that are selected so that no columns are selected for the view. You can then use the SELECT statement to select new columns.
column-identifier
can be either the column name or the positional equivalent from the LIST statement. This is the number that represents the column's place in the access descriptor. To reset the SAS variable name and format associated with the third column, submit this statement: RESET 3;
If the column name contains lowercase characters, special characters, or national characters, enclose the name in quotation marks. Reset as many columns as you want in one RESET statement. The ALL option can also be used to reset all columns.
When creating an access descriptor, the column-identifier is reset to its default name and format settings. When creating a view descriptor, the specified column is no longer selected for the view.

Details

The RESET statement resets either the attributes of all columns or the attributes of the specified columns to their default values. The RESET statement can be used when you create an access descriptor or a view descriptor, but it is not allowed when you are updating a descriptor. RESET has different effects on access and view descriptors, as described below.
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 Statement" for additional information.