I am struggling to download, save, and import a dataset into SAS. I want to import each year of the NHIS (CDC's National Health Interview Survey) Sample Child files into SAS to do a proc surveyfreq. I'm trying the 2013 data release... Download data set: 1. Go to https://www.cdc.gov/nchs/nhis/nhis_2013_data_release.htm 2. Click on "Data Files" drop down menu 3. Find "Sample Child File" 4. Click on ASCII zip file (this is the data file that downloads and saves into my H - drive. Because it's a .dat file, my code cannot read it in SAS. This is the code I'm trying... Proc Import OUT=work.childsample2013 DATAFILE= 'H:\Autism\2013samchild.zip' DBMS=dlm replace; run; This code works fine for the NHIS data from 2016 because its available in an excel file. Proc Import out=work.childsample DATAFILE= "H:\Autism\CHILDSample.xlsx" DBMS=EXCEL REPLACE; RUN: Any ideas?? THANK YOU!!
... View more