You can write to an external file by
using:
-
-
the External File Interface (EFI)
-
When you use a DATA
step to write a customized report, you write it to an external file.
In its simplest form, a DATA step that writes a report looks like
this:
data _null_;
set budget;
file 'your-file-name';
put variables-and-text;
run;
If your operating environment
supports a graphical user interface, you can use the EFI or the Export
Wizard to write to an external file. The EFI is a point-and-click
graphical interface that you can use to read and write data that is
not in SAS internal format. By using the EFI, you can read data from
a SAS data set and write it to an external file, and you can read
data from an external file and write it to a SAS data set. See
SAS/ACCESS Interface to PC Files: Reference for more information about the EFI.
Note: If the data file you are
passing to EFI is password protected, you are prompted multiple times
for your login ID and password.
The Export Wizard guides
you through the steps to read data from a SAS data set and write it
to an external file. As a wizard, it is a series of windows that present
simple choices to guide you through the process. See
SAS/ACCESS Interface to PC Files: Reference for more information about the wizard.