Key Concepts about Extracting and Copying NHANES I Data Files to Permanent Libraries

NHANES I data are now saved in a TEXT file format (.TXT).

To create a SAS file, you will need to use the SAS code provided.  As stated earlier, you will need to load SAS and open the SAS code you saved in your TEMP folder.  In order to create a SAS data file, you will need to assign a library name (libname) to the location where you want the permanent data file to be. Once you have modified the FILENAME pathway for the data file, inserted the necessary commands for the LIBNAME to create the output SAS data file, and modified the DATA step, you can then RUN the SAS program.

After you have submitted and completed running the program, check your folder (if you followed Task 1 it would be C:\NHANES I\DATA) and see that the dataset is now in your folder.


close window icon Close Window