| The ACCESS Procedure for PC Files |
The general syntax for the ACCESS procedure is presented here. For specific details, see
File Format-Specific Reference for IMPORT and EXPORT Procedures.
Create and Update Statements
|
CREATE
libref.member-name.ACCESS|VIEW ;
|
|
|
UPDATE
libref.member-name.ACCESS|VIEW ;
|
|
Database-Description Statements
|
PATH=
'path-and-filename<.PC-filename-extension>' | <'>filename<'> | fileref;
|
|
(SeeXLS
files or WKn files for additional
database-description statements for those
file formats.)
|
|
Editing Statements
|
DROP
<'>column-identifier-1<'>
<<'>...column-identifier-n<'>>;
|
|
FORMAT
<'>column-identifier-1<'><=>SAS-format-name-1<'>
<...<'>column-identifier-n<'><=>SAS-format-name-n>;
|
|
LIST
<ALL|VIEW|<'>column-identifier<'>>;
|
|
MIXED
<=> YES | NO | Y | N;
|
|
(The MIXED
statement is not available for DIF and DBF
files.)
|
|
RENAME
<'>column-identifier-1 <'><=>SAS-variable-name-1
<...<'>column-identifier-n<'><=>SAS-variable-name-n>;
|
|
RESET ALL | <'>column-identifier-1<'><...<'>column-identifier-n<'>>;
|
|
SELECT
ALL|<'>column-identifier-1<'>
<...<'>column-identifier-n<'>>;
|
|
TYPE
<'>column-identifier-1<'><=> C | N
<...column-identifier-n <=> C | N>;
|
|
(The TYPE statement is not available for DBF
files.)
|
|
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.