|
||||||||
National Center for Chronic Disease Prevention and Health Promotion |
|
|
|
SHPPS specific example using the district level health education data and running a table for the variable HED1:
libname mydata 'c:\data'; /* tells SAS where the data are */
libname library 'c:\data'; /* tells SAS where the formats are */
proc freq data=mydata hlthedd;
tables HED1;
run;
Using the format library is recommended but technically is optional. If you do not want to use the format library, include the following statement at the start of your SAS program:
options nofmterr; /* tells SAS to not look for formats */
Please note that each year of SHPPS data has its own format library.
For further information on using format libraries, please refer to the documentation provided with the SAS system.
Documents on this page are available in Portable Document Format (PDF). Learn more about viewing and printing these documents with Acrobat Reader.
Healthy Youth Home |
Contact Us
Page last reviewed: October 1, 2007
Division of Adolescent
and School Health
|