Skip directly to search Skip directly to A to Z list Skip directly to navigation Skip directly to site content Skip directly to page options
CDC Home

NHANES Environmental Chemical Data Tutorial

Save a Dataset

Purpose

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.

 

info iconIMPORTANT NOTE
Because the procedure is the same as it would be for any dataset, links to the Continuous NHANES Web Tutorial are provided here for your convenience. If you use the code, please be sure to change it to match the filenames for your environmental analytic dataset.