General Instructions for Opening an Extract on Your PC
The ATUS extract builder does not provide data in the format of any particular statistics package. Instead, we provide raw ASCII data files and the command files necessary for reading the raw data into SPSS,Stata, and SAS.
On the My Extracts page in My ATUS, we provide statistical package syntax files, a data file, and a codebook for each of your extract requests. To analyze data, you must first download the data and command file for your statistics package of choice. First, right click on the "data" link and select "Save Link As". Next, right click on the command file link of your choice and select "Save Link As".
SPSS Users
1) Open the SPSS command file in SPSS.
2) Find the line at the top that reads:
cd ".".
If the ".dat" data file is on your C drive, for instance, you need to change that line to:
cd "C:\extract_mail_com1.dat".
3) Click the "Run" menu and select "All". SPSS will then read in your data.
4) If you do not get any errors, but you do not see data in the data editor, click the "Transform" menu and select "Run Pending Transformations".
STATA Users
1) Save the Stata ".do" command file in the same directory as you saved the ".dat" data file.
2) Make sure Stata is pointing to the directory that contains the ".dat" data file and the ".do" command file. If these files are on your C drive, for instance, you should type:
cd "C:\"
3) Execute the ".do" file. For example, if your .do file is named "extract_mail_com1.do", you will need to type:
do extract_mail_com1.do
You will see ‘end of do-file’ when STATA has finished reading in the data.
SAS Users
1) Open the SAS command file in SAS.
2) Change one line in your SAS command file to indicate the location of the ".dat" data file on your computer. If your ATUS-X files are called extract_mail_com1.sas and extract_mail_com1.dat, then the line below the "ATUS USER" notes in the ".sas" command file will read:
libname IPUMS ".";
If the ".dat" data file is in a folder on your C drive, for instance, then you need to change that line to:
libname IPUMS "C:\";
3) Click the "Run" menu and select "Submit." SAS will then read in your data.


