Save a Dataset
In this module, you will learn how to create a permanent dataset in a SAS library. This will allow you to save the temporary dataset that you have created, as a permanent dataset in a location where it can be retrieved and used later without having to recreate it each time that you restart SAS. In addition, all data manipulations such as merges, appends, records, and labels are saved and do not need to be re-run every time the dataset is used.
Task 1: Create a Permanent Dataset in a SAS Library
In the previous modules, you worked with a temporary dataset that exists only as long as your analysis session is open. In this module, you will take that temporary dataset, save it as a permanent file in your directory or library, and it will be stored between analysis sessions.
Task 2: Save NHANES Data to a Microsoft Excel Spreadsheet with SAS
In some cases, you may wish to save the NHANES data to an Excel spreadsheet. This section provides brief instructions on how to save NHANES data to a Microsoft Excel spreadsheet.
- Key Concepts about Saving a NHANES Data to a Microsoft Excel Spreadsheet with SAS
- How to Save a NHANES Data to a Microsoft Excel Spreadsheet with SAS