When you
execute a program in SAS Studio, you can download the output from the
Results tab to your local machine. If you want to send your output directly to another location,
you must open your own
ODS destination. By default,
output files that are generated by the ODS destinations that you open are written to your home
directory.
In SAS Studio Single-User deployments, the output is written to your home directory
on your local machine.
In SAS Studio Basic and in SAS Studio Mid-Tier deployments, the output is written
to your home directory on the remote SAS server. Your home directory appears in the
navigation pane under
Files and Folders or
Server
Files and Folders.
If you want to send the results to a specific location, use a FILENAME statement
to define a file reference to the desired location. You can use the &_SASWS_
macro variable to reference your home directory. After you create the file reference, use the PATH=
file-reference option in your ODS statement. Here is an example:
filename odsout "&_SASWS_/charts";
ods _all_ close;
ods html path=odsout file="sales.htm"
In this case, file sales.htm
and any image files that are generated are written to subdirectory charts
in your home directory.