The EXPORT Procedure |
Procedure features: |
|
Program |
This example exports the SAS data set, see PROC PRINT output i. The WHERE option requests a subset of the observations.The OUTFILE option specifies the output file. The DBMS option specifies that the output file is a CSV file, and overwrites the target CSV, if it exists.
proc export data=sashelp.class (where=(sex='F')) outfile='c:\myfiles\Femalelist.csv' dbms=csv replace; run;
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.