Also question is, how do I export proc freq to excel?
The easiest way to do this is to use ODS EXCEL , if you have SAS 9.4. ods excel file="yourfilename. xlsx"; proc freq data=sashelp. class; tables age; run; proc freq data=sashelp.
Additionally, how do I export SAS results? Click File - Save As, browse to a location, specify a file name, and pick one of the "Webpage" file types. You save everything in the Results Viewer. If your results include graphs, as is very often the case, you can still save everything via the SAS interface.
Beside this, how do you output a proc tabulate to a dataset?
THE EASY WAY: USE THE OUT= OPTION OR AN ODS OUTPUT STATEMENT
The OUT= option in the PROC TABULATE statement makes it easy to create an output dataset. The data set that you obtain will not look like the displayed PROC TABULATE output, but the computed content is in the data set.
How do I convert a SAS file to Excel?
SAS 9.4
- Open the SAS dataset file.
- Select File and Export Data.
- Follow the SAS Export wizard (Excel is the default)
- Select Finish to start the export.
- If the export fails, this is probably due to an incompatability between SAS and Microsoft Office/Excel.